@ied/pagination
v1.0.0-beta.6
Published
## Install
Downloads
7
Readme
Pagination
Install
yarn add @ied/pagination
Use
import Pagination from '@ied'
<Pagination
locale="en"
defaultPage={1}
max={100}
rowsPerPage={10}
onChange={console.log}
/>
Types
type Props = {
max: number,
rowsPerPage: number,
onChange: (pageState: number, rowsPerPage: number) => void,
range?: Array<number>,
defaultPage?: number,
style?: {},
locale?: string,
className?: string,
disableRowsPerPage?: bool,
}