import React from 'react'; import { AlertTriangle, X } from 'lucide-react'; interface ConfirmModalProps { isOpen: boolean; title?: string; message?: string; onConfirm: () => void; onCancel: () => void; } export const ConfirmModal: React.FC = ({ isOpen, title, message, onConfirm, onCancel }) => { if (!isOpen) return null; return (
{/* Backdrop */}
{/* Modal Content */}

{title || 'Xác nhận'}

{message || 'Bạn có chắc chắn muốn thực hiện hành động này không?'}

); };