import type { ConversationStatusProps } from "./types"; const defaultLabels = { idle: "Ready", listening: "Listening", thinking: "Thinking", error: "Needs attention", } as const; export function ConversationStatus({ value, labels, }: ConversationStatusProps) { const label = labels?.[value] ?? defaultLabels[value]; return (
); }