react-pagination-cn
Pagination React component
demo: http://xuluxi.github.io/react-pagination/
Configuration
- totalPage : (number) total page number
- selectPage : (function) callback function when you select one page,the argument is the page number
Usage
npm: npm install react-pagination The css is in package folder, I haven't pack it in JS, you should add it by youself;
var React = ;var Pagination = ; React; ```jsx