* feat(dashboard): 增加dashboard示例 * feat(chart-ui): 增加图表UI组件库 * feat(dashboard): 完善dashboard示例
18 lines
279 B
TypeScript
18 lines
279 B
TypeScript
interface CardItem {
|
|
title: string;
|
|
extra: string;
|
|
leftContent: string;
|
|
rightContent: string;
|
|
color?: string;
|
|
leftFooter: string;
|
|
rightFooter: string;
|
|
}
|
|
|
|
interface ChartItem {
|
|
name: string;
|
|
title: string;
|
|
options: any;
|
|
}
|
|
|
|
export type { CardItem, ChartItem };
|