File tree Expand file tree Collapse file tree 1 file changed +28
-20
lines changed Expand file tree Collapse file tree 1 file changed +28
-20
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' ;
6
7
7
8
export declare class Statistic extends AntdComponent {
8
9
/**
9
- * the Icon type for an icon statistic, see Icon Component
10
+ * decimal separator
11
+ * @default '.'
10
12
* @type string
11
13
*/
12
- icon : string ;
14
+ decimalSeparator : string ;
13
15
14
16
/**
15
17
* the shape of statistic
16
- * @default 'circle'
17
18
* @type string
18
19
*/
19
- shape : 'circle' | 'square' ;
20
+ formatter : ( ) => VNode ;
20
21
21
22
/**
22
- * the size of the statistic
23
- * @default 'default '
24
- * @type number | string
23
+ * group separator
24
+ * @default ', '
25
+ * @type string
25
26
*/
26
- size : 'small' | 'large' | 'default' | number ;
27
+ groupSeparator : string ;
27
28
28
29
/**
29
- * the address of the image for an image statistic
30
- * @type string
30
+ * precision of input value
31
+ * @type number
31
32
*/
32
- src : string ;
33
+ precision : number ;
33
34
34
35
/**
35
- * a list of sources to use for different screen resolutions
36
- * @type string
36
+ * prefix node of value
37
+ * @type string | VNode
37
38
*/
38
- srcSet : string ;
39
+ prefix : string | VNode ;
39
40
40
41
/**
41
- * This attribute defines the alternative text describing the image
42
- * @type string
42
+ * suffix node of value
43
+ * @type string | VNode
43
44
*/
44
- alt : string ;
45
+ suffix : string | VNode ; ;
45
46
46
47
/**
47
- * handler when img load error,return false to prevent default fallback behavior
48
- * @type
48
+ * Display title
49
+ * @type string | VNode
49
50
*/
50
- loadError : ( ) => boolean ;
51
+ title : string | VNode ;
52
+
53
+ /**
54
+ * Display value
55
+ * @type string or number
56
+ */
57
+ value : string | number ;
58
+
51
59
}
You can’t perform that action at this time.
0 commit comments