UNPKG

@visactor/react-vtable

Version:
14 lines (13 loc) 719 B
import type React from 'react'; import { type PivotChartConstructorOptions } from '@visactor/vtable'; import type { BaseTableProps } from './base-table'; interface AnyRecords { records: Record<string, unknown>[]; } export interface PivotChartProps extends Omit<BaseTableProps, 'records' | 'columnWidthConfig' | 'columns' | 'dragOrder' | 'resize'>, Omit<PivotChartConstructorOptions, 'container' | 'records'>, AnyRecords { } export declare const PivotChart: React.ForwardRefExoticComponent<PivotChartProps & { children?: React.ReactNode; } & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>; export declare function registerChartModule(name: string, chart: any): void; export {};