UNPKG

@appkitreact/react-table-library

Version:

fork of react-table-library to support react 18 version

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