@linkdesign/screen
Version:
屏组件库,但使用场景又不局限于屏。主要用于BI、大盘和屏
35 lines (34 loc) • 649 B
TypeScript
import React from 'react';
import { EChartOption } from 'echarts';
import { UniversalStyle } from '../title';
interface IProps {
/**
* 类名
*/
className?: string;
/**
* 图表标题
*/
title: React.ReactNode;
/**
* 通用样式
*/
universalStyle?: UniversalStyle;
/**
* 数据项
*/
dataSource: {
name: string;
value: number;
}[];
/**
* echarts options配置
*/
options?: EChartOption;
}
/**
* 环状堆叠占比图
* @param props IProps
*/
declare const RingStackChart: (props: IProps) => JSX.Element;
export default RingStackChart;