'use client' import { motion, AnimatePresence } from 'framer-motion' import { AlertCircle } from 'lucide-react' import { Button } from '@/components/ui/button' interface ToastProps { toast: { message: string; type: 'error' | 'success' } | null onClose: () => void } export function ToastNotification({ toast, onClose }: ToastProps) { return ( {toast && (

{toast.message}

)}
) }