Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ We're always trying to stay compatible with the latest version of React. We can'

Latest compatible versions:

- React 16 or newer: React-datepicker v2.9.4 and newer
- React 17 or newer: React-datepicker versions after v9.1.0 (React 16 is no longer supported — our
positioning dependency, `@floating-ui/react`, dropped React 16 support in its `0.27.0` release)
- React 16 or newer: React-datepicker v2.9.4 up to v9.1.0
- React 15.5: React-datepicker v2.9.3
- React 15.4.1: needs React-datepicker v0.40.0, newer won't work (due to react-onclickoutside dependencies)
- React 0.14 or newer: All above React-datepicker v0.13.0
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@
},
"peerDependencies": {
"date-fns-tz": "^3.0.0",
"react": "^16.9.0 || ^17 || ^18 || ^19 || ^19.0.0-rc",
"react-dom": "^16.9.0 || ^17 || ^18 || ^19 || ^19.0.0-rc"
"react": "^17 || ^18 || ^19 || ^19.0.0-rc",
"react-dom": "^17 || ^18 || ^19 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"date-fns-tz": {
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8867,8 +8867,8 @@ __metadata:
typescript-eslint: "npm:^8.22.0"
peerDependencies:
date-fns-tz: ^3.0.0
react: ^16.9.0 || ^17 || ^18 || ^19 || ^19.0.0-rc
react-dom: ^16.9.0 || ^17 || ^18 || ^19 || ^19.0.0-rc
react: ^17 || ^18 || ^19 || ^19.0.0-rc
react-dom: ^17 || ^18 || ^19 || ^19.0.0-rc
peerDependenciesMeta:
date-fns-tz:
optional: true
Expand Down