@linkdesign/screen
Version:
屏组件库,但使用场景又不局限于屏。主要用于BI、大盘和屏
33 lines (32 loc) • 644 B
TypeScript
import React from 'react';
import { EChartOption } from 'echarts';
import { UniversalStyle } from '../title';
interface IProps {
/**
* 类名
*/
className?: string;
/**
* 图表标题
*/
title?: React.ReactNode;
/**
* 通用样式
*/
universalStyle?: UniversalStyle;
/**
* echarts options配置
*/
options: EChartOption & {
/**
* 空态占位图 url
*/
placeholder?: string;
};
/**
* 显示加载动画效果
*/
loading?: boolean;
}
declare const LineChart: (props: IProps) => JSX.Element;
export default LineChart;