"use client"; import { Button } from "@/components/ui/button"; import { Circle, Square } from "lucide-react"; interface RecordControlsProps { active: boolean; elapsedLabel: string; disabled: boolean; busy: boolean; onStart: () => void; onEnd: () => void; } export function RecordControls({ active, elapsedLabel, disabled, busy, onStart, onEnd }: RecordControlsProps) { if (active) { return (
Session live ยท {elapsedLabel}
); } return ( ); }