react-paginate v7.1.4 Release Notes
-
- ๐ A new prop
renderOnZeroPageCount
has been added. It allows to define what to display whenpageCount
is zero. By default, it lets the main pagination boxes be displayed (Previous / Next). To display nothing, just providesrenderOnZeroPageCount={null}
. (see: https://github.com/AdeleD/react-paginate/pull/377) - ๐
A new prop
className
has been added, which is an alias tocontainerClassName
and is usefull for integration with CSS-in-JS frameworks like styled-components. (see: https://github.com/AdeleD/react-paginate/issues/321) - ๐ Fix the Webpack build by providing a
web
target (see: https://github.com/AdeleD/react-paginate/issues/317) - โ Add a warning when a non integer is provided for
pageCount
- ๐ A new prop