File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 3
3
// Definitions: https://github.com/vueComponent/ant-design-vue/types
4
4
5
5
import { AntdComponent } from './component' ;
6
- import { VNode } from 'vue' ;
7
- import { TreeNode } from './tree-node' ;
8
- import { Button } from './button/button' ;
9
6
10
7
export interface ModalOptions {
11
8
/**
@@ -84,13 +81,13 @@ export interface ModalOptions {
84
81
* The ok button props
85
82
* @type object
86
83
*/
87
- okButtonProps ?: Button ;
84
+ okButtonProps ?: Record < string , any > ;
88
85
89
86
/**
90
87
* The cancel button props
91
88
* @type object
92
89
*/
93
- cancelButtonProps ?: Button ;
90
+ cancelButtonProps ?: Record < string , any > ;
94
91
95
92
/**
96
93
* Title
@@ -251,13 +248,13 @@ export declare class Modal extends AntdComponent {
251
248
* The ok button props, follow jsx rules
252
249
* @type object
253
250
*/
254
- okButtonProps : { props : Button ; on : { } } ;
251
+ okButtonProps : Record < string , any > ;
255
252
256
253
/**
257
254
* The cancel button props, follow jsx rules
258
255
* @type object
259
256
*/
260
- cancelButtonProps : { props : Button ; on : { } } ;
257
+ cancelButtonProps : Record < string , any > ;
261
258
262
259
/**
263
260
* The modal dialog's title
You can’t perform that action at this time.
0 commit comments