Skip to content

rc-component/pager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pager

Pager component for react.

Build with webpack and CSS Modules

Story book

Install

npm i rc-page

Usage

<Pager curpage={2} perpage={20} total={300} onChange={this.onShow.bind(this)} />

Props

name type default description
*curpage number Page to show
*perpage number Item count perpage
*total number Total number of item
limit number Infinity Limit page link number
*onChange func Page change handler

License

MIT