UNPKG

react-confirm-box

Version:
17 lines (16 loc) 426 B
declare type ClassNames = { container?: string; buttons?: string; confirmButton?: string; cancelButton?: string; }; export declare type Options = { labels?: { confirmable: string; cancellable: string; }; classNames?: ClassNames; closeOnOverlayClick?: boolean; render?: (message: string, onConfirm: () => void, onCancel: () => void) => Element; }; export {};