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