A ReactJS component that creates a pagination
Jump forward
and Jump backward
when index is before and after the break, respectivelybreakAriaLabels
allowing the above labels to be user defined.renderOnZeroPageCount
in the type declaration file (https://github.com/AdeleD/react-paginate/pull/454).navigation
to main <ul>
tagreact-hot-loader
by react-refresh
(see: https://github.com/AdeleD/react-paginate/issues/428#issuecomment-1302408824)pageLabelBuilder
proponClick
has been added. It is a callback for any click on the component. It exposes information on the part clicked (for eg. isNext
for when next control is clicked or isBreak
for a break clicked), the next expected page nextSelectedPage
& others. Can return false
to prevent any page change or a number to override the page to jump to. Just return nothing (or undefined
) to let default behavior take place. (see: https://github.com/AdeleD/react-paginate/issues/263)pageRangeDisplayed
and marginPagesDisplayed
are 0marginPagesDisplayed={0}
(see: https://github.com/AdeleD/react-paginate/pull/396)