File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -95,19 +95,19 @@ export interface ModalFuncProps {
95
95
prefixCls ?: string ;
96
96
class ?: string ;
97
97
visible ?: boolean ;
98
- title ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
98
+ title ?: string | ( ( ) => VNodeTypes ) | VNodeTypes ;
99
99
closable ?: boolean ;
100
- content ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
100
+ content ?: string | ( ( ) => VNodeTypes ) | VNodeTypes ;
101
101
// TODO: find out exact types
102
102
onOk ?: ( ...args : any [ ] ) => any ;
103
103
onCancel ?: ( ...args : any [ ] ) => any ;
104
104
okButtonProps ?: ButtonPropsType ;
105
105
cancelButtonProps ?: ButtonPropsType ;
106
106
centered ?: boolean ;
107
107
width ?: string | number ;
108
- okText ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
108
+ okText ?: string | ( ( ) => VNodeTypes ) | VNodeTypes ;
109
109
okType ?: LegacyButtonType ;
110
- cancelText ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
110
+ cancelText ?: string | ( ( ) => VNodeTypes ) | VNodeTypes ;
111
111
icon ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
112
112
/* Deprecated */
113
113
iconType ?: string ;
You can’t perform that action at this time.
0 commit comments