File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -95,19 +95,19 @@ export interface ModalFuncProps {
9595 prefixCls ?: string ;
9696 class ?: string ;
9797 visible ?: boolean ;
98- title ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
98+ title ?: string | ( ( ) => VNodeTypes ) | VNodeTypes ;
9999 closable ?: boolean ;
100- content ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
100+ content ?: string | ( ( ) => 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 ?: string | ( ( ) => VNodeTypes ) | VNodeTypes ;
109109 okType ?: LegacyButtonType ;
110- cancelText ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
110+ cancelText ?: string | ( ( ) => VNodeTypes ) | VNodeTypes ;
111111 icon ?: ( ( ) => VNodeTypes ) | VNodeTypes ;
112112 /* Deprecated */
113113 iconType ?: string ;
You can’t perform that action at this time.
0 commit comments