import React from 'react' import type { Notification } from '@/types/notifications' import { NotificationItem } from './NotificationItem' import { NotificationPanelHeader } from './NotificationPanelHeader' interface NotificationPanelProps { notifications: Notification[] unreadCount: number onNotificationClick: (notification: Notification) => void onDelete: (id: string) => void onMarkAllAsRead: () => void onClose: () => void } function NotificationList({ notifications, onNotificationClick, onDelete }: { notifications: Notification[] onNotificationClick: (notification: Notification) => void onDelete: (id: string) => void }) { if (notifications.length === 0) { return (
No notifications yet