import React from 'react'; import { AlertTriangle, X } from 'lucide-react'; interface ConfirmDialogProps { isOpen: boolean; onClose: () => void; onConfirm: () => void; title: string; message: string; confirmText?: string; cancelText?: string; variant?: 'danger' | 'warning' | 'info'; } export const ConfirmDialog: React.FC = ({ isOpen, onClose, onConfirm, title, message, confirmText = 'Confirmar', cancelText = 'Cancelar', variant = 'danger' }) => { if (!isOpen) return null; return (

{title}

{message}

); };