react-paginate
Advanced tools
Changelog
= 8.0.0
prevPageRel
, selectedPageRel
and nextPageRel
. To disable the rel attribute, set them to null
. (see: https://github.com/AdeleD/react-paginate/pull/391)disabledLinkClassName
has been added. It allows to add a custom class on disabled previous
and next
controls. Default to undefined
(no class added).tabindex
is now set to -1
on disabled controls (disable previous/next buttons; active page button). (see: https://github.com/AdeleD/react-paginate/issues/219)initialPage
prop value that is greater than the maximum page index from pageCount
prop.forcePage
prop value that is greater than the maximum page index from pageCount
prop.href
generated from hrefBuilder
prop is now also set on active page control <a>
tag. (see #242)hrefAllControls
has been added. It allows to enable hrefBuilder
for all controls.Changelog
= 7.1.5
initialPage
and forcePage
props. You should only provides forcePage
when the component is controlled. (see: https://github.com/AdeleD/react-paginate/pull/290)Changelog
= 7.1.4
renderOnZeroPageCount
has been added. It allows to define what to display when pageCount
is zero. By default, it lets the main pagination boxes be displayed (Previous / Next). To display nothing, just provides renderOnZeroPageCount={null}
. (see: https://github.com/AdeleD/react-paginate/pull/377)className
has been added, which is an alias to containerClassName
and is useful for integration with CSS-in-JS frameworks like styled-components. (see: https://github.com/AdeleD/react-paginate/issues/321)web
target (see: https://github.com/AdeleD/react-paginate/issues/317)pageCount
Changelog
= 7.1.2
pageLabelBuilder
has been added. It allows to customize pages labels of the component. By default, the page number is displayed (see: https://github.com/AdeleD/react-paginate/pull/334).Changelog
= 7.1.1
Changelog
= 7.0.0
Changelog
= 6.5.0
Changelog
= 6.4.0