@alicloud/cloud-charts
Version:

14 lines (13 loc) • 412 B
TypeScript
/// <reference types="react" />
import { ListItem } from '@antv/g2/esm/dependents';
import { Chart } from '@antv/g2';
import './index.scss';
export interface TableLegendProps {
/** 配置项 */
config: any;
/** chart实例 **/
chart: Chart;
/** legend items */
legendItems: ListItem[];
}
export default function TableLegend({ config, chart, legendItems }: TableLegendProps): JSX.Element;