echarts-next-for-react
Version:
Echarts(v5.x | next) components for react.
27 lines (26 loc) • 855 B
TypeScript
import type { FC } from 'react';
import React from 'react';
import type { EChartsOption } from 'echarts';
export declare type EChartsNextForReactCoreProps = {
option: EChartsOption;
notMerge?: boolean;
replaceMerge?: string | string[];
lazyUpdate?: boolean;
silent?: boolean;
style?: React.CSSProperties;
className?: string;
theme?: string | Record<string, unknown>;
opts?: {
renderer?: 'canvas' | 'svg';
devicePixelRatio?: number;
width?: number;
height?: number;
locale?: string | any;
};
showLoading?: boolean;
onChartReady?: (arg0: any) => void;
onEvents?: Record<string, unknown>;
renderType?: 'canvas' | 'svg';
};
declare const EChartsNextForReactCore: FC<EChartsNextForReactCoreProps>;
export default EChartsNextForReactCore;