Skip to content

Commit

Permalink
Revert react version requirement change, update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeb-nhs committed Apr 11, 2024
1 parent 7678193 commit 186d59b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ If you're coming from versions of the library prior to 1.0.0, please give [this

If you're upgrading to 2.0, please be aware we have made some breaking changes. [This doc](/docs/upgrade-to-2.0.md) has the details.

## Upgrading to 3.0

If you're upgrading to 3.0, please be aware we have made some breaking changes. [This doc](/docs/upgrade-to-3.0.md) has the details.

## Upgrading to 4.0

If you're upgrading to 4.0, please be aware we have made some breaking changes. [This doc](/docs/upgrade-to-4.0.md) has the details.

## Installation

You can install this package using either `yarn` or `npm`.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
},
"peerDependencies": {
"nhsuk-frontend": ">=8.0.0 <9.0.0",
"react": ">=18.2.0",
"react-dom": ">=18.2.0"
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9338,8 +9338,8 @@ __metadata:
vite-tsconfig-paths: "npm:^4.3.2"
peerDependencies:
nhsuk-frontend: ">=8.0.0 <9.0.0"
react: ">=18.2.0"
react-dom: ">=18.2.0"
react: ">=16.8.0"
react-dom: ">=16.8.0"
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 186d59b

Please sign in to comment.