react-paginate
Advanced tools
Comparing version 8.1.0 to 8.1.1
@@ -5,2 +5,6 @@ ## >= 9.0.0 (WIP) | ||
## >= 8.1.1 | ||
- Add TypeScript definition for `pageLabelBuilder` prop | ||
## >= 8.1.0 | ||
@@ -7,0 +11,0 @@ |
@@ -146,2 +146,7 @@ // Type definitions for react-paginate 8.0.1 | ||
/** | ||
* Function to set the text on page links. Defaults to `(page) => page` | ||
*/ | ||
pageLabelBuilder?(page: number): string | React.ReactNode; | ||
/** | ||
* The classname for the active page. | ||
@@ -148,0 +153,0 @@ */ |
{ | ||
"name": "react-paginate", | ||
"version": "8.1.0", | ||
"version": "8.1.1", | ||
"description": "A ReactJS component that creates a pagination.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/react-paginate.js", |
@@ -157,3 +157,3 @@ # react-paginate | ||
```console | ||
npm run install | ||
npm install | ||
``` | ||
@@ -160,0 +160,0 @@ |
394132
3438