Skip to content

anasbousselham/react-easy-paginate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published