diff --git a/js/src/features/send/controls-indicator.tsx b/js/src/features/send/controls-indicator.tsx new file mode 100644 index 0000000..3b1f8ed --- /dev/null +++ b/js/src/features/send/controls-indicator.tsx @@ -0,0 +1,64 @@ +import { Video, Mic, ChevronDown } from "lucide-react"; +import { useRecordingStore } from "@/stores/recording-store"; +import { cn } from "@/lib/utils"; +import { Button } from "@/components/ui/button"; + +interface ControlsIndicatorProps { + type: "reply" | "new"; +} +export default function ControlsIndicator({ type }: ControlsIndicatorProps) { + const recordingMode = useRecordingStore((s) => s.recordingMode); + const setRecordingMode = useRecordingStore((s) => s.setRecordingMode); + + return ( +
+ +
+ Hold{" "} + + ` + {" "} + to {type === "reply" ? "reply " : "start "} + · Press{" "} + + T + {" "} + for text +
+
+ ); +} diff --git a/js/src/features/send/reply-indicator.tsx b/js/src/features/send/reply-indicator.tsx deleted file mode 100644 index fd65a78..0000000 --- a/js/src/features/send/reply-indicator.tsx +++ /dev/null @@ -1,53 +0,0 @@ -import { Video, Mic } from "lucide-react"; -import { useRecordingStore } from "@/stores/recording-store"; -import { cn } from "@/lib/utils"; - -export function ReplyIndicator() { - const recordingMode = useRecordingStore((s) => s.recordingMode); - const setRecordingMode = useRecordingStore((s) => s.setRecordingMode); - - return ( -
- -
- Hold{" "} - - ` - {" "} - to reply · Press{" "} - - T - {" "} - to text -
-
- ); -}