|
|
@ -95,9 +95,9 @@ export interface ModalFuncProps {
|
|
|
|
prefixCls?: string;
|
|
|
|
prefixCls?: string;
|
|
|
|
class?: string;
|
|
|
|
class?: string;
|
|
|
|
visible?: boolean;
|
|
|
|
visible?: boolean;
|
|
|
|
title?: () => VNodeTypes | VNodeTypes;
|
|
|
|
title?: (() => VNodeTypes) | VNodeTypes;
|
|
|
|
closable?: boolean;
|
|
|
|
closable?: boolean;
|
|
|
|
content?: () => VNodeTypes | VNodeTypes;
|
|
|
|
content?: (() => VNodeTypes) | VNodeTypes;
|
|
|
|
// TODO: find out exact types
|
|
|
|
// TODO: find out exact types
|
|
|
|
onOk?: (...args: any[]) => any;
|
|
|
|
onOk?: (...args: any[]) => any;
|
|
|
|
onCancel?: (...args: any[]) => any;
|
|
|
|
onCancel?: (...args: any[]) => any;
|
|
|
@ -105,10 +105,10 @@ export interface ModalFuncProps {
|
|
|
|
cancelButtonProps?: ButtonPropsType;
|
|
|
|
cancelButtonProps?: ButtonPropsType;
|
|
|
|
centered?: boolean;
|
|
|
|
centered?: boolean;
|
|
|
|
width?: string | number;
|
|
|
|
width?: string | number;
|
|
|
|
okText?: () => VNodeTypes | VNodeTypes;
|
|
|
|
okText?: (() => VNodeTypes) | VNodeTypes;
|
|
|
|
okType?: LegacyButtonType;
|
|
|
|
okType?: LegacyButtonType;
|
|
|
|
cancelText?: () => VNodeTypes | VNodeTypes;
|
|
|
|
cancelText?: (() => VNodeTypes) | VNodeTypes;
|
|
|
|
icon?: () => VNodeTypes | VNodeTypes;
|
|
|
|
icon?: (() => VNodeTypes) | VNodeTypes;
|
|
|
|
/* Deprecated */
|
|
|
|
/* Deprecated */
|
|
|
|
iconType?: string;
|
|
|
|
iconType?: string;
|
|
|
|
mask?: boolean;
|
|
|
|
mask?: boolean;
|
|
|
|