'use client' import { ReactNode } from 'react' import { Button } from '../ui/button' import { ArrowLeft, Save, Eye, Send } from 'lucide-react' import { SaveStatusIndicator } from './save-status-indicator' interface ComposeHeaderProps { title: string saving: boolean lastSavedLabel: string | null hasUnsavedChanges: boolean canSend: boolean onBack: () => void onSave: () => void onPreview: () => void onSend: () => void extraActions?: ReactNode } export function ComposeHeader({ title, saving, lastSavedLabel, hasUnsavedChanges, canSend, onBack, onSave, onPreview, onSend, extraActions, }: ComposeHeaderProps) { return (