UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

20 lines (19 loc) 650 B
/// <reference types="react" /> import type { ModalFuncProps, ModalLocale } from './Modal'; interface ConfirmDialogProps extends ModalFuncProps { afterClose?: () => void; close?: (...args: any[]) => void; autoFocusButton?: null | 'ok' | 'cancel'; rootPrefixCls: string; iconPrefixCls?: string; /** @private Internal Usage. Do not override this */ locale?: ModalLocale; } export declare function ConfirmContent(props: ConfirmDialogProps & { confirmPrefixCls: string; }): JSX.Element; declare const ConfirmDialog: { (props: ConfirmDialogProps): JSX.Element; displayName: string; }; export default ConfirmDialog;