import { X } from 'lucide-react' import './ConfirmDialog.scss' interface ConfirmDialogProps { open: boolean title?: string message: string onConfirm: () => void onCancel: () => void } export default function ConfirmDialog({ open, title, message, onConfirm, onCancel }: ConfirmDialogProps) { if (!open) return null return (
e.stopPropagation()}> {title &&
{title}
}

{message}

) }