Skip to content

Commit d6dd031

Browse files
authored
Add support for React 18 (#65)
1 parent 4f98ae8 commit d6dd031

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/silver-knives-do.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-use-clipboard": patch
3+
---
4+
5+
Indicate support for React 18 in the `peerDependencies`

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"tslint-react-hooks": "^2.2.2"
4343
},
4444
"peerDependencies": {
45-
"react": "^16.8.0 || ^17",
46-
"react-dom": "^16.8.0 || ^17"
45+
"react": "^16.8.0 || ^17 || ^18",
46+
"react-dom": "^16.8.0 || ^17 || ^18"
4747
},
4848
"publishConfig": {
4949
"access": "public"

0 commit comments

Comments
 (0)