node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

react-paginator

react-paginator

A Paginator Component for Reactjs

This paginator is currently coupled to bootstrap styles -- everyone uses those anyway ;)

Install

npm i -S react-paginator

DEMO

example image

Usage

var Paginator = require('react-paginator');
 
// onPaginate will receive a page number 
<Paginator maxPages="5" numPages="10" onClick={this.onPaginate}/>