mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-01 11:38:36 +08:00
59 lines
1.0 KiB
TypeScript
59 lines
1.0 KiB
TypeScript
// Project: https://github.com/vueComponent/ant-design-vue
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
import { AntdComponent } from './component';
|
|
import { VNode } from 'vue';
|
|
|
|
export declare class Statistic extends AntdComponent {
|
|
/**
|
|
* decimal separator
|
|
* @default '.'
|
|
* @type string
|
|
*/
|
|
decimalSeparator: string;
|
|
|
|
/**
|
|
* the shape of statistic
|
|
* @type string
|
|
*/
|
|
formatter: () => VNode;
|
|
|
|
/**
|
|
* group separator
|
|
* @default ','
|
|
* @type string
|
|
*/
|
|
groupSeparator: string;
|
|
|
|
/**
|
|
* precision of input value
|
|
* @type number
|
|
*/
|
|
precision: number;
|
|
|
|
/**
|
|
* prefix node of value
|
|
* @type string | VNode
|
|
*/
|
|
prefix: string | VNode;
|
|
|
|
/**
|
|
* suffix node of value
|
|
* @type string | VNode
|
|
*/
|
|
suffix: string | VNode;
|
|
|
|
/**
|
|
* Display title
|
|
* @type string | VNode
|
|
*/
|
|
title: string | VNode;
|
|
|
|
/**
|
|
* Display value
|
|
* @type string or number
|
|
*/
|
|
value: string | number;
|
|
}
|