import { AnimatePresence } from 'framer-motion'; import AlertCard from './AlertCard'; const containerPositions = { 'top-left': 'fixed top-6 left-6 z-[9999]', 'top-center': 'fixed top-6 left-1/2 -translate-x-1/2 z-[9999]', 'top-right': 'fixed top-6 right-6 z-[9999]', 'bottom-left': 'fixed bottom-6 left-6 z-[9999]', 'bottom-center': 'fixed bottom-6 left-1/2 -translate-x-1/2 z-[9999]', 'bottom-right': 'fixed bottom-6 right-6 z-[9999]', 'center': 'fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-[9999]', }; export default function AlertContainer({ alerts, position, onDismiss }) { return (
{alerts.map((alert) => ( ))}
); }