/// import { BasePropsType } from '../_internal'; export interface BaseModalOptions { className?: string; title?: string; content: React.ReactNode; thumb?: string; thumbSize?: 'md' | 'lg'; background?: string; custom?: React.ReactNode; } export interface AlertOptions extends BaseModalOptions { buttonText?: string; } export interface ConfirmOptions extends BaseModalOptions { confirmText?: string; cancelText?: string; } export interface StandardOptions extends BaseModalOptions { mainButton: { text: string; type?: 'normal' | 'primary' | 'bold' | 'danger'; onPress?: () => void; }; addonButton?: { text: string; onPress?: () => void; }; cancelButton?: { text: string; onPress?: () => void; }; closeType?: 'dark' | 'light' | 'none'; onClose?: () => void; onDismiss?: () => void; } export interface ModalPropsType extends BasePropsType { type?: 'promo' | 'product'; visible: boolean; maskClosable?: boolean; showCloseIcon?: boolean; onClose?: () => void; }