import { Button } from './ui' import { t } from '@/lib/i18n' interface NotificationPanelHeaderProps { unreadCount: number onMarkAllAsRead: () => void onClose: () => void } function MarkAllAsReadButton({ unreadCount, onMarkAllAsRead }: { unreadCount: number; onMarkAllAsRead: () => void }): React.ReactElement | null { if (unreadCount === 0) { return null } return ( ) } function CloseButton({ onClose }: { onClose: () => void }): React.ReactElement { return ( ) } export function NotificationPanelHeader({ unreadCount, onMarkAllAsRead, onClose, }: NotificationPanelHeaderProps): React.ReactElement { return (