File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -95,20 +95,20 @@ export interface ModalFuncProps {
9595 prefixCls ?: string ;
9696 class ?: string ;
9797 visible ?: boolean ;
98- title ?: ( ) => VNodeTypes | VNodeTypes ;
98+ title ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
9999 closable ?: boolean ;
100- content ?: ( ) => VNodeTypes | VNodeTypes ;
100+ content ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
101101 // TODO: find out exact types
102102 onOk ?: ( ...args : any [ ] ) => any ;
103103 onCancel ?: ( ...args : any [ ] ) => any ;
104104 okButtonProps ?: ButtonPropsType ;
105105 cancelButtonProps ?: ButtonPropsType ;
106106 centered ?: boolean ;
107107 width ?: string | number ;
108- okText ?: ( ) => VNodeTypes | VNodeTypes ;
108+ okText ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
109109 okType ?: LegacyButtonType ;
110- cancelText ?: ( ) => VNodeTypes | VNodeTypes ;
111- icon ?: ( ) => VNodeTypes | VNodeTypes ;
110+ cancelText ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
111+ icon ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
112112 /* Deprecated */
113113 iconType ?: string ;
114114 mask ?: boolean ;
You can’t perform that action at this time.
0 commit comments