rc-easy-paginate

0.1.1 • Public • Published

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.

Package Sidebar

Install

npm i rc-easy-paginate

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

4.74 kB

Total Files

5

Last publish

Collaborators

  • anasb