import { AlertCircle, AlertTriangle, CheckCircle2, Info, StickyNote } from 'lucide-react'; import styles from './Notification.module.css'; export type NotificationVariant = 'info' | 'success' | 'error' | 'warning' | 'note'; export interface NotificationProps { variant?: NotificationVariant; title?: string; children: React.ReactNode; className?: string; } const ICONS: Record = { info: , success: , error: , warning: , note: , }; export function Notification({ variant = 'info', title, children, className }: NotificationProps) { return (
{ICONS[variant]}
{title &&

{title}

}

{children}

); }