File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 33// Definitions: https://github.com/vueComponent/ant-design-vue/types
44
55import { AntdComponent } from './component' ;
6- import { VNode } from 'vue' ;
7- import { TreeNode } from './tree-node' ;
8- import { Button } from './button/button' ;
96
107export interface ModalOptions {
118 /**
@@ -84,13 +81,13 @@ export interface ModalOptions {
8481 * The ok button props
8582 * @type object
8683 */
87- okButtonProps ?: Button ;
84+ okButtonProps ?: Record < string , any > ;
8885
8986 /**
9087 * The cancel button props
9188 * @type object
9289 */
93- cancelButtonProps ?: Button ;
90+ cancelButtonProps ?: Record < string , any > ;
9491
9592 /**
9693 * Title
@@ -251,13 +248,13 @@ export declare class Modal extends AntdComponent {
251248 * The ok button props, follow jsx rules
252249 * @type object
253250 */
254- okButtonProps : { props : Button ; on : { } } ;
251+ okButtonProps : Record < string , any > ;
255252
256253 /**
257254 * The cancel button props, follow jsx rules
258255 * @type object
259256 */
260- cancelButtonProps : { props : Button ; on : { } } ;
257+ cancelButtonProps : Record < string , any > ;
261258
262259 /**
263260 * The modal dialog's title
You can’t perform that action at this time.
0 commit comments