import { Sparkles, Save, RotateCcw, Loader2 } from 'lucide-react' import { PhaseIndicator } from './PhaseIndicator' import { cn } from '@/lib/utils' import type { InterviewPhase } from '@/types' interface ChatToolbarProps { currentPhase: InterviewPhase status: 'idle' | 'active' | 'completed' | 'abandoned' isGenerating: boolean hasGeneratedTree: boolean isSaving: boolean onGenerate: () => void onSave: () => void onReset: () => void } export function ChatToolbar({ currentPhase, status, isGenerating, hasGeneratedTree, isSaving, onGenerate, onSave, onReset, }: ChatToolbarProps) { return (
Flow Assist
{status === 'active' && !hasGeneratedTree && ( )} {hasGeneratedTree && ( )}
) }