1 |
|
2 | import type { ModalFuncProps, ModalLocale } from './Modal';
|
3 | interface ConfirmDialogProps extends ModalFuncProps {
|
4 | afterClose?: () => void;
|
5 | close?: (...args: any[]) => void;
|
6 | autoFocusButton?: null | 'ok' | 'cancel';
|
7 | rootPrefixCls: string;
|
8 | iconPrefixCls?: string;
|
9 |
|
10 | locale?: ModalLocale;
|
11 | }
|
12 | export declare function ConfirmContent(props: ConfirmDialogProps & {
|
13 | confirmPrefixCls: string;
|
14 | }): JSX.Element;
|
15 | declare const ConfirmDialog: {
|
16 | (props: ConfirmDialogProps): JSX.Element;
|
17 | displayName: string;
|
18 | };
|
19 | export default ConfirmDialog;
|