Skip to content

Commit b467aae

Browse files
authored
Added react ^19 and ^19.0.0-rc as peer dep
Added react ^19 and ^19.0.0-rc as peer dependency. Some projects like Next.js already utilize react 19 release candidate, so that installing react-datepicker can only be done with `--legacy-peer-deps`. I have tested the `react-datepicker` with Next.js and react 19 release candidate and it works. So I have added react ^19 and ^19.0.0-rc as peer dep
1 parent 2452507 commit b467aae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878
"typescript": "^5.5.4"
7979
},
8080
"peerDependencies": {
81-
"react": "^16.9.0 || ^17 || ^18",
82-
"react-dom": "^16.9.0 || ^17 || ^18"
81+
"react": "^16.9.0 || ^17 || ^18 || ^19 || ^19.0.0-rc",
82+
"react-dom": "^16.9.0 || ^17 || ^18 || ^19 || ^19.0.0-rc"
8383
},
8484
"dependencies": {
8585
"@floating-ui/react": "^0.26.23",

0 commit comments

Comments
 (0)