import { Info, CircleAlert, CircleX, CircleCheck } from 'lucide-react'; const icons = { info: , success: , warning: ( ), error: , }; export type NotificationProps = { notification: { id: string; type: keyof typeof icons; title: string; message?: string; }; onDismiss: (id: string) => void; }; export const Notification = ({ notification: { id, type, title, message }, onDismiss, }: NotificationProps) => { return (
{title}
{message}