A react-easy-paginate Package
Install rc-easy-paginate
with npm:
$ npm install rc-easy-paginate --save
import paginate from "rc-easy-paginate";
const movies = paginate(
this.state.movies,
this.state.currentPage,
this.state.pageSize
);
Read the code of demo/demo.jsx. You will quickly understand
how to make rc-easy-paginate
work with a list of objects.
This project is licensed under the terms of the MIT license.