Skip to content

Commit

Permalink
Closes #317 #332 Target web with default dist build (global -> window)
Browse files Browse the repository at this point in the history
  • Loading branch information
MonsieurV committed Oct 26, 2021
1 parent 8014ece commit 3fe78f7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## To be released
## >= 7.1.4 (To be released)

- A new prop `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)
- A new prop `className` has been added, which is an alias to `containerClassName` 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)

## >= 7.1.3

Expand Down

0 comments on commit 3fe78f7

Please sign in to comment.