import React from 'react'; interface ConfirmationModalProps { show: boolean; onClose: () => void; onConfirm: () => void; title: string; message: string; confirmText?: string; cancelText?: string; confirmButtonClass?: string; loading?: boolean; } const ConfirmationModal: React.FC = ({ show, onClose, onConfirm, title, message, confirmText = 'Confirm', cancelText = 'Cancel', confirmButtonClass = 'btn-danger', loading = false }) => { if (!show) return null; return (
{title}

{message}

); }; export default ConfirmationModal;