"use client"; interface ConfirmDialogProps { title: string; message: string; confirmText?: string; cancelText?: string; onConfirm: () => void; onCancel: () => void; type?: 'danger' | 'warning' | 'info'; } export default function ConfirmDialog({ title, message, confirmText = 'OK', cancelText = 'Cancelar', onConfirm, onCancel, type = 'danger', }: ConfirmDialogProps) { const buttonStyles = { danger: 'bg-red-500 hover:bg-red-600 text-white', warning: 'bg-yellow-500 hover:bg-yellow-600 text-white', info: 'bg-primary hover-primary text-white', }; return (
{message}