@table-library/react-table-library
Version:
react-table-library
6 lines (5 loc) • 328 B
TypeScript
import { TableNode } from '@table-library/react-table-library/types/table';
import { Sort } from '@table-library/react-table-library/types/sort';
declare const createSortContext: <T extends TableNode>() => any;
declare const useSortContext: <T extends TableNode>() => Sort<T>;
export { createSortContext, useSortContext };