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 { IPieChartSpec } from '@visactor/vchart'; import type { BaseChartProps } from './BaseChart'; export interface PieChartProps extends Omit<BaseChartProps, 'container' | 'type' | 'data'>, Omit<Partial<IPieChartSpec>, 'type'> { } export declare const PieChart: React.ForwardRefExoticComponent<PieChartProps & { children?: React.ReactNode; } & { type?: 'pie'; } & React.RefAttributes<any>>;