GitXplorerGitXplorer
d

react-paginator

public
5 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
0f5bfc1d9122ed862863bd1ebc92716ad425c2a9

0.1.6

ddgoguerra committed 9 years ago
Unverified
d62a40f6ac96c468be05dc40a288dae049cbc248

prevent anchor click bubbling, to avoid following the link '#'

ddgoguerra committed 9 years ago
Unverified
b8321cd2dc7c45742ebf9e14303fa0d301dfd721

added 'npm run serve' with node-static

ddgoguerra committed 9 years ago
Unverified
ecce5e4cb5c2da803bae1b81ed169af34727a515

0.1.5

ddgoguerra committed 9 years ago
Unverified
53db3554adf9f9c3c2bf0321526cdd2832457494

add href="#" to the links, to change cursor to a pointer on hover

ddgoguerra committed 9 years ago
Unverified
af9ec907b2140137accfd920fbbe435537963b77

0.1.4

ddgoguerra committed 9 years ago

README

The README file for this repository.

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:

Name Description
currPage The current page.
lastPage Total number of pages.
onChange Called 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