import { Video, Mic } from "lucide-react"; import { cn } from "@/lib/utils"; import { useMediaSettingsStore } from "@/stores/media-settings-store"; import { Button } from "@/components/ui/button"; import { PropsWithChildren } from "react"; interface ControlsIndicatorProps extends PropsWithChildren { type: "reply" | "new"; } export default function ControlsIndicator({ type, children }: ControlsIndicatorProps) { const recordingMode = useMediaSettingsStore((s) => s.recordingMode); const setRecordingMode = useMediaSettingsStore((s) => s.setRecordingMode); return (
{children ?
{children}
:
} {children && ·}
Hold{" "} ` {" "} to {type === "reply" ? "reply " : "start "} · Press{" "} T {" "} for text
); }