import { Component } from "solid-js"; import { RecordTabSvg, RecordDesktopSvg } from "../Icons"; import Button from "~/entrypoints/popup/Button"; import { AppState, RecordingArea } from "../types"; interface RecordingControlsProps { state: AppState; startRecording: (area: RecordingArea) => void; stopRecording: () => void; } const RecordingControls: Component = (props) => { return ( <> {props.state === AppState.RECORDING && ( )} ); }; export default RecordingControls;