@ied/pagination

## Install

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@ied/pagination
1.0.0-beta.63 years ago5 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,
}