import React from 'react'; import { X } from 'lucide-react'; import { Button } from '@/components/ui/button'; interface ComposeEmailHeaderProps { type: 'new' | 'reply' | 'reply-all' | 'forward'; onClose: () => void; } export default function ComposeEmailHeader({ type, onClose }: ComposeEmailHeaderProps) { // Set the header title based on the compose type const getTitle = () => { switch (type) { case 'reply': return 'Reply'; case 'reply-all': return 'Reply All'; case 'forward': return 'Forward'; default: return 'New Message'; } }; return (

{getTitle()}

); }