@table-library/react-table-library
Version:
react-table-library
6 lines (5 loc) • 474 B
TypeScript
import { StateAndChange } from '@table-library/react-table-library/types/common';
import { Data, TableNode } from '@table-library/react-table-library/types/table';
import { Pagination, PaginationOptions } from '@table-library/react-table-library/types/pagination';
declare const usePagination: <T extends TableNode>(data: Data<T>, primary?: StateAndChange | undefined, options?: PaginationOptions | undefined, context?: any) => Pagination<T>;
export { usePagination };