Releases: AdeleD/react-paginate
Releases · AdeleD/react-paginate
v8.2.0
v8.1.5
v8.1.4
- Add an ARIA role
navigation
to main<ul>
tag - Dependencies bumps for generating build. Replace
react-hot-loader
byreact-refresh
(see: #428 (comment))
v8.1.3
v8.1.2
v8.1.1
v8.1.0
- A new prop
onClick
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 orisBreak
for a break clicked), the next expected pagenextSelectedPage
& others. Can returnfalse
to prevent any page change or a number to override the page to jump to. Just return nothing (orundefined
) to let default behavior take place. (see: #263) - Prevent breaks to be displayed when both
pageRangeDisplayed
andmarginPagesDisplayed
are 0
v8.0.3
v8.0.2
- Add TypeScript definitions directly in the repository (instead of community definitions from DefinitelyTyped) (see: #394)