@visactor/react-vchart
Version:
The react version of VChart 4.x
11 lines (10 loc) • 466 B
TypeScript
import type React from 'react';
import type { ICommonChartSpec } from '@visactor/vchart';
import type { BaseChartProps } from './BaseChart';
export interface CommonChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ICommonChartSpec>, 'type'> {
}
export declare const CommonChart: React.ForwardRefExoticComponent<CommonChartProps & {
children?: React.ReactNode;
} & {
type?: 'common';
} & React.RefAttributes<any>>;