You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
// 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';
|
|
|
|
|
|
|
|
|
|
export declare class Statistic extends AntdComponent {
|
|
|
|
|
/**
|
|
|
|
|
* the Icon type for an icon statistic, see Icon Component
|
|
|
|
|
* @type string
|
|
|
|
|
*/
|
|
|
|
|
icon: string;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* the shape of statistic
|
|
|
|
|
* @default 'circle'
|
|
|
|
|
* @type string
|
|
|
|
|
*/
|
|
|
|
|
shape: 'circle' | 'square';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* the size of the statistic
|
|
|
|
|
* @default 'default'
|
|
|
|
|
* @type number | string
|
|
|
|
|
*/
|
|
|
|
|
size: 'small' | 'large' | 'default' | number;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* the address of the image for an image statistic
|
|
|
|
|
* @type string
|
|
|
|
|
*/
|
|
|
|
|
src: string;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* a list of sources to use for different screen resolutions
|
|
|
|
|
* @type string
|
|
|
|
|
*/
|
|
|
|
|
srcSet: string;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This attribute defines the alternative text describing the image
|
|
|
|
|
* @type string
|
|
|
|
|
*/
|
|
|
|
|
alt: string;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* handler when img load error,return false to prevent default fallback behavior
|
|
|
|
|
* @type
|
|
|
|
|
*/
|
|
|
|
|
loadError: () => boolean;
|
|
|
|
|
}
|