UNPKG

@table-library/react-table-library

Version:
6 lines (5 loc) 406 B
import { StateAndChange } from '@table-library/react-table-library/types/common'; import { Data, TableNode } from '@table-library/react-table-library/types/table'; import { Sort, SortOptions } from '@table-library/react-table-library/types/sort'; declare const useSort: <T extends TableNode>(data: Data<T>, primary: StateAndChange, options: SortOptions, context?: any) => Sort<T>; export { useSort };