UNPKG

react-url-table

Version:

Smart and flexible table component built with React and for React projects. based on React16 hooks and mobx-react-lite

4 lines (3 loc) 269 B
import { IPaginateProps, IRecord } from "../@typings/types"; export declare function paginate<T>(array: T[], page_size: number, page_number: number): T[]; export declare function calculatePageCount(array: IRecord[], paginationOptions?: IPaginateProps | false): number;