interface ConfirmDialogProps { title: string; message: string; confirmText?: string; cancelText?: string; onConfirm: () => void; onCancel: () => void; type?: 'danger' | 'warning' | 'info'; } export function ConfirmDialog({ title, message, confirmText = 'Confirm', cancelText = 'Cancel', onConfirm, onCancel, type = 'warning', }: ConfirmDialogProps) { const confirmColors = { danger: 'bg-red-600 hover:bg-red-700 dark:bg-red-700 dark:hover:bg-red-800', warning: 'bg-yellow-600 hover:bg-yellow-700 dark:bg-yellow-700 dark:hover:bg-yellow-800', info: 'bg-blue-600 hover:bg-blue-700 dark:bg-blue-700 dark:hover:bg-blue-800', }; return (

{title}

{message}

); }