UNPKG

@visactor/react-vchart

Version:

The react version of VChart 4.x

11 lines (10 loc) 439 B
import type React from 'react'; import type { IBarChartSpec } from '@visactor/vchart'; import type { BaseChartProps } from './BaseChart'; export interface BarChartProps extends Omit<BaseChartProps, 'container' | 'type' | 'data'>, Omit<Partial<IBarChartSpec>, 'type'> { } export declare const BarChart: React.ForwardRefExoticComponent<BarChartProps & { children?: React.ReactNode; } & { type?: 'bar'; } & React.RefAttributes<any>>;