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