@table-library/react-table-library
Version:
react-table-library
6 lines (5 loc) • 435 B
TypeScript
import { StateAndChange } from '@table-library/react-table-library/types/common';
import { Data, TableNode } from '@table-library/react-table-library/types/table';
import { Tree, TreeOptions } from '@table-library/react-table-library/types/tree';
declare const useTree: <T extends TableNode>(data: Data<T>, primary?: StateAndChange | undefined, options?: TreeOptions<T> | undefined, context?: any) => Tree<T>;
export { useTree };