1.1.6 • Published 7 years ago

@tony-kerz/react-ultimate-pagination-material-ui v1.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

react-ultimate-pagination-material-ui

React.js pagination component with Material UI theme

usage

import createUltimatePagination from 'react-ultimate-pagination-material-ui'

// all args are optional
const Pagination = createUltimatePagination(
  {
    buttonClass,
    wrapperClass,
    wrapperComponent
  }
)

//...

<Pagination
  currentPage={page.currentPage}
  totalPages={page.totalPages}
  boundaryPagesRange={1}
  siblingPagesRange={1}
  hidePreviousAndNextPageLinks={false}
  hideFirstAndLastPageLinks={false}
  hideEllipsis={false}
  onChange={this.handlePage}
/>

//...
  • wrapperComponent defaults to a div if not specified
  • use wrapperClass to style default div or pass styled wrapperComponent
  • wrapperClass will be ignored if wrapperComponent is passed
1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago