import { motion, AnimatePresence } from 'framer-motion' export default function ConfirmDialog({ open, onClose, onConfirm, title, description, confirmText = '확인', cancelText = '취소', destructive = false, loading = false, }) { const accent = destructive ? { ring: 'ring-red-500/20', icon: 'text-red-300', iconBg: 'bg-red-500/10 border-red-500/30' } : { ring: 'ring-emerald-500/20', icon: 'text-emerald-300', iconBg: 'bg-emerald-500/10 border-emerald-500/30' } return ( {open && ( e.stopPropagation()} >
{destructive ? ( ) : ( )}

{title}

{description}

)}
) }