@visactor/openinula-vtable
Version:
The openinula version of VTable
12 lines (11 loc) • 494 B
TypeScript
import Inula from 'openinula';
import type { ListTable, PivotTable, PivotChart } from '@visactor/vtable';
export interface TableContextType {
table?: ListTable | PivotTable | PivotChart;
isChildrenUpdated?: boolean;
}
declare const TableContext: Inula.Context<TableContextType>;
export declare function withTableInstance<T>(Component: typeof Inula.Component): Inula.ExoticComponent<Inula.PropsOmitRef<T>> & Inula.Attributes & {
ref?: Inula.Ref<any>;
};
export default TableContext;