@vlsergey/react-bootstrap-pagetable
Version:
Complex solution to work with pageable data, including sorting, filtering, actions, changing displayed columns, etc.
14 lines • 419 B
TypeScript
/**
* Structure of type is same as Spring Data Page type, thus server result
* can be pass to PageTable without transformation.
*/
interface Page<T> {
content: T[];
number: number;
totalElements: number;
totalPages: number;
}
export declare function emptyPage<T>(): Page<T>;
export declare function singlePage<T>(items: T[]): Page<T>;
export default Page;
//# sourceMappingURL=Page.d.ts.map