0.1.1 • Published 4 years ago

rc-easy-paginate v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

NPM

rc-easy-paginate

A react-easy-paginate Package

Installation

Install rc-easy-paginate with npm:

$ npm install rc-easy-paginate --save

Usage

javascript

import paginate from "rc-easy-paginate";

const movies = paginate(
  this.state.movies,
  this.state.currentPage,
  this.state.pageSize
);

Demo

Read the code of demo/demo.jsx. You will quickly understand how to make rc-easy-paginate work with a list of objects.

License

This project is licensed under the terms of the MIT license.