import React, { useState } from 'react'; import { X } from 'lucide-react'; interface ConfirmModalProps { isOpen: boolean; title?: string; message: string; confirmText?: string; cancelText?: string; onConfirm: () => void; onCancel: () => void; } export const ConfirmModal: React.FC = ({ isOpen, title = 'Xác nhận', message, confirmText = 'Xác nhận', cancelText = 'Hủy', onConfirm, onCancel, }) => { if (!isOpen) return null; return (

{title}

{message}

); };