import type { HTMLAttributes, ReactNode } from 'react'; /** * Props del componente Alert */ export interface AlertProps extends HTMLAttributes { /** * Título del alert (texto principal en negrita) */ title: string; /** * Descripción opcional (texto secundario) */ description?: string; /** * Contenido opcional del body (por ejemplo, input, placeholder, etc.) */ children?: ReactNode; /** * Botones de acción personalizados * Si no se proveen, se mostrarán los botones por defecto (Cancel/Confirm) */ actions?: ReactNode; /** * Callback cuando se hace click en Cancel */ onCancel?: () => void; /** * Callback cuando se hace click en Confirm */ onConfirm?: () => void; /** * Texto del botón de cancelar * @default "Cancel" */ cancelText?: string; /** * Texto del botón de confirmar * @default "Confirm" */ confirmText?: string; /** * Clases CSS adicionales */ className?: string; } //# sourceMappingURL=Alert.types.d.ts.map