Skip to content

Commit

Permalink
feat: update react version
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinyChang committed Jun 7, 2022
1 parent 649efa5 commit 35f8ac6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Changelog

- 0.19.0 Support React 18
- 0.18.0 Fix text width not calculate correctly
- 0.17.0 Support React 17
- 0.16.0 Change wrapper tag from div to span
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-text-truncate",
"version": "0.18.0",
"version": "0.19.0",
"description": "Truncate text for React.js",
"main": "lib/index.js",
"scripts": {
Expand Down Expand Up @@ -46,8 +46,8 @@
"webpack-hot-middleware": "^2.10.0"
},
"peerDependencies": {
"react": "^15.4.1 || ^16.0.0 || ^17.0.0",
"react-dom": "^15.4.1 || ^16.0.0 || ^17.0.0"
"react": "^15.4.1 || ^16.0.0 || ^17.0.0 || || ^18.0.0",
"react-dom": "^15.4.1 || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"prop-types": "^15.5.7"
Expand Down

0 comments on commit 35f8ac6

Please sign in to comment.