π¬ A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots π
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
import { Mic, MicOff } from 'lucide-react';
import { RecordingIconButton } from './RecordingIconButton';
interface MicButtonProps {
id?: string;
enabled: boolean;
locked: boolean;
label: string;
onClick: () => void;
}
export function MicButton({ id, enabled, locked, label, onClick }: MicButtonProps) {
return (
<RecordingIconButton
id={id}
label={label}
tone={locked ? 'locked' : enabled ? 'on' : 'default'}
pressed={enabled}
onClick={onClick}
>
{enabled ? <Mic /> : <MicOff />}
</RecordingIconButton>
);
}