interface ConfirmationDialogProps { isOpen: boolean; title: string; message: string; confirmText?: string; cancelText?: string; onConfirm: () => void; onCancel: () => void; } export default function ConfirmationDialog({ isOpen, title, message, confirmText = 'Confirm', cancelText = 'Cancel', onConfirm, onCancel }: ConfirmationDialogProps) { if (!isOpen) return null; return ( <> {/* Backdrop */}
{/* Dialog */}{message}
{/* Buttons */}