"use client"; import { useState } from "react"; import { Bell, X, Pill, Calendar, AlertCircle, Info, CheckCheck, } from "lucide-react"; import type { Notification } from "@/lib/hooks/useNotifications"; interface NotificationCenterProps { notifications: Notification[]; count: number; onDismiss: (id: string) => void; onDismissAll: () => void; } /** * Notification bell + dropdown panel. * * Shows a badge with the active notification count. Clicking the bell * opens a dropdown listing overdue medications, upcoming appointments, * and health reminders. Each notification can be dismissed individually * or all at once. * * Desktop: dropdown positioned below the bell. * Mobile: also a dropdown (could be upgraded to a sheet later). */ export function NotificationBell({ notifications, count, onDismiss, onDismissAll, }: NotificationCenterProps) { const [open, setOpen] = useState(false); return (
All caught up!
No pending reminders right now