File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -95,20 +95,20 @@ export interface ModalFuncProps {
95
95
prefixCls ?: string ;
96
96
class ?: string ;
97
97
visible ?: boolean ;
98
- title ?: ( ) => VNodeTypes | VNodeTypes ;
98
+ title ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
99
99
closable ?: boolean ;
100
- content ?: ( ) => VNodeTypes | VNodeTypes ;
100
+ content ?: ( ( ) => 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 ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
109
109
okType ?: LegacyButtonType ;
110
- cancelText ?: ( ) => VNodeTypes | VNodeTypes ;
111
- icon ?: ( ) => VNodeTypes | VNodeTypes ;
110
+ cancelText ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
111
+ icon ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
112
112
/* Deprecated */
113
113
iconType ?: string ;
114
114
mask ?: boolean ;
You can’t perform that action at this time.
0 commit comments