UNPKG

@table-library/react-table-library

Version:
6 lines (5 loc) 435 B
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 };