@ied/pagination

## Install

Stats

StarsIssuesVersionUpdatedCreatedSize
@ied/pagination
1.0.0-beta.62 years ago4 years agoMinified + gzip package size for @ied/pagination in KB

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,
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.