@vlsergey/react-bootstrap-pagetable
Version:
Complex solution to work with pageable data, including sorting, filtering, actions, changing displayed columns, etc.
7 lines • 358 B
TypeScript
import FetchArgs from './FetchArgs';
import ItemModel from './ItemModel';
import Page from './Page';
export declare const DEFAULT_PAGE = 0;
export declare const DEFAULT_SIZE = 10;
export default function fetchFromArray<T>(itemModel: ItemModel<T>, src: T[], { page, filter, size, sort }: FetchArgs): Page<T>;
//# sourceMappingURL=fetchFromArray.d.ts.map