Skip to content

Commit

Permalink
Bumped allowed react-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Nov 7, 2024
1 parent 97fbd9d commit 6918c0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/serious-moons-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-react": minor
---

React: Allow all react versions above 17.0.0 trough peerDependencies.
4 changes: 2 additions & 2 deletions @navikt/core/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -628,8 +628,8 @@
"vitest": "^1.2.2"
},
"peerDependencies": {
"@types/react": "^17.0.30 || ^18.0.0",
"react": "^17.0.0 || ^18.0.0"
"@types/react": ">=17.0.30",
"react": ">=17.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
Expand Down

0 comments on commit 6918c0b

Please sign in to comment.