view-ui-plus
Version:
A high quality UI components Library with Vue.js 3
57 lines (45 loc) • 882 B
TypeScript
import type { DefineComponent } from 'vue';
export declare const NumberInfo: DefineComponent<{
/**
* 标题
*/
title?: string;
/**
* 子标题
*/
'sub-title'?: string;
/**
* 总量
*/
total?: string | number;
/**
* 子总量
*/
'sub-total'?: string | number;
/**
* 增加状态,可选值为 up 或 down
*/
status?: string;
/**
* 设置数字和描述之间的间距,单位:px
*/
gap?: string | number;
'v-slots'?: {
/**
* 自定义标题
*/
title?: () => any;
/**
* 自定义子标题
*/
subTitle?: () => any;
/**
* 自定义总量
*/
total?: () => any;
/**
* 自定义子总量
*/
subTotal?: () => any;
};
}>