Skip to content

Commit 0c42dba

Browse files
authored
feat: add react 18 support (#146)
1 parent 2b2514a commit 0c42dba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@
4646
"jest": "^30.0.5",
4747
"jest-environment-jsdom": "^30.0.2",
4848
"jest-fetch-mock": "^3.0.3",
49-
"react": ">=19.0.0",
50-
"react-dom": ">=19.0.0",
49+
"react": "^18.0.0 || ^19.0.0",
50+
"react-dom": "^18.0.0 || ^19.0.0",
5151
"ts-jest": "^29.4.0",
5252
"tslib": "^2.8.1",
5353
"tsup": "^8.5.0",
5454
"typescript": "^5.8.3",
5555
"typescript-eslint": "^8.42.0"
5656
},
5757
"peerDependencies": {
58-
"react": ">=19.0.0",
59-
"react-dom": ">=19.0.0"
58+
"react": "^18.0.0 || ^19.0.0",
59+
"react-dom": "^18.0.0 || ^19.0.0"
6060
},
6161
"scripts": {
6262
"build": "tsup --env.NODE_ENV=development",

0 commit comments

Comments
 (0)