import { ClockIcon } from '@heroicons/react/24/outline'; import { motion } from 'framer-motion'; interface NotificationsPanelProps { notificationItems: Array<{ icon: React.ReactNode; title: string; description: string; time: string; isUnread: boolean; }>; } export function NotificationsPanel({ notificationItems }: NotificationsPanelProps) { return (

Notifications

Mark all as read
{notificationItems.map((item, index) => (
{item.icon}

{item.title}

{item.description}

{item.time}
))}
); }