File tree Expand file tree Collapse file tree 1 file changed +32
-29
lines changed Expand file tree Collapse file tree 1 file changed +32
-29
lines changed Original file line number Diff line number Diff line change
1
+ import { VNodeChild } from 'vue' ;
1
2
import { AntdComponent } from './component' ;
2
3
3
4
export declare class Result extends AntdComponent {
4
- /**
5
- * result title
6
- * @type string
7
- */
8
- title : any ;
5
+ $props : {
6
+ /**
7
+ * result title
8
+ * @type string
9
+ */
10
+ title ?: VNodeChild | JSX . Element ;
9
11
10
- /**
11
- * result sub title
12
- *
13
- * @type string
14
- */
15
- subTitle : any ;
12
+ /**
13
+ * result sub title
14
+ *
15
+ * @type string
16
+ */
17
+ subTitle ?: VNodeChild | JSX . Element ;
16
18
17
- /**
18
- * result status,decide icons and colors
19
- * enum of 'success' | 'error' | 'info' | 'warning'| '404' | '403' | '500'` | 'info'
20
- *
21
- * @default 'info'
22
- * @type string
23
- */
24
- status : string ;
19
+ /**
20
+ * result status,decide icons and colors
21
+ * enum of 'success' | 'error' | 'info' | 'warning'| '404' | '403' | '500'` | 'info'
22
+ *
23
+ * @default 'info'
24
+ * @type string
25
+ */
26
+ status ?: 'success' | 'error' | 'info' | 'warning' | '404' | '403' | '500' ;
25
27
26
- /**
27
- * custom back icon
28
- * @type any v-slot
29
- */
30
- icon : any ;
28
+ /**
29
+ * custom back icon
30
+ * @type any v-slot
31
+ */
32
+ icon ?: VNodeChild | JSX . Element ;
31
33
32
- /**
33
- * operating area
34
- * @type any v-slot
35
- */
36
- extra : any ;
34
+ /**
35
+ * operating area
36
+ * @type any v-slot
37
+ */
38
+ extra ?: VNodeChild | JSX . Element ;
39
+ } ;
37
40
}
You can’t perform that action at this time.
0 commit comments