0.1.9 • Published 7 years ago

react-paginator-laravel5 v0.1.9

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

React Paginator

A React paginator component based in the Laravel Paginator module. Expects the Bootstrap style classes to be loaded.

Installation

npm install react-laravel-paginator

Usage

var Paginator = require('react-laravel-paginator');

<Paginator currPage={4} lastPage={20} onChange={this.onCurrPageChange} />

Options:

NameDescription
currPageThe current page.
lastPageTotal number of pages.
onChangeCalled when a page change is requested. Receives the new page number as the first argument.

License

MIT license - http://www.opensource.org/licenses/mit-license.php