import { useTrackDesignInput } from "../../contexts/DesignPanelInputContext"; export function PropertyPanelFlatFooter({ onAskAgent, recordingState, recordingDuration, onToggleRecording, }: { onAskAgent?: () => void; recordingState?: "idle" | "recording" | "preview"; recordingDuration?: number; onToggleRecording?: () => void; }) { const track = useTrackDesignInput(); const recording = recordingState === "recording"; const recordTitle = recording ? `Stop recording ${(recordingDuration ?? 0).toFixed(1)}s` : "Record gesture (R)"; return ( // No border-t here: every possible element immediately above this footer // in the new fixed-headers + scrollable-open-section layout (a collapsed // FlatGroupHeader, or the open group's scrollable body wrapper) already // draws its own border-b in normal document flow — nothing here is // `position: sticky` anymore, so there's no rounding seam to seal (see // p11-scrollable-open-section-report.md).
{onToggleRecording && ( )}
); }