File tree Expand file tree Collapse file tree 5 files changed +37
-15
lines changed Expand file tree Collapse file tree 5 files changed +37
-15
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,15 @@ $ yarn
1010
1111### Local Development
1212
13+ You can link react packages and react-tooltip to this repository, but this should not be updated in github:
14+
15+ In package.json:
16+ ```
17+ "react": "link:../node_modules/react",
18+ "react-dom": "link:../node_modules/react-dom",
19+ "react-tooltip": "link:.."
20+ ```
21+
1322```
1423$ yarn start
1524```
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ A react tooltip is a floating react element that displays information related to
1111## Installation
1212
1313``` bash
14- npm install react-tooltip
14+ npm install react-tooltip@5.0.0-beta.0
1515```
1616
1717or
1818
1919``` bash
20- yarn add react-tooltip
20+ yarn add react-tooltip@5.0.0-beta.0
2121```
2222
2323## Usage
Original file line number Diff line number Diff line change 2020 "@mdx-js/react" : " ^1.6.22" ,
2121 "clsx" : " ^1.2.1" ,
2222 "prism-react-renderer" : " ^1.3.5" ,
23- "react" : " link:../node_modules/react " ,
24- "react-dom" : " link:../node_modules/react-dom " ,
25- "react-tooltip" : " link:.. "
23+ "react" : " 18.2.0 " ,
24+ "react-dom" : " 18.2.0 " ,
25+ "react-tooltip" : " 5.0.0-beta.0 "
2626 },
2727 "devDependencies" : {
2828 "@docusaurus/module-type-aliases" : " 2.2.0" ,
Original file line number Diff line number Diff line change @@ -6026,9 +6026,13 @@ react-dev-utils@^12.0.1:
60266026 strip-ansi "^6.0.1"
60276027 text-table "^0.2.0"
60286028
6029- " react-dom@link:../node_modules/react-dom " :
6030- version "0.0.0"
6031- uid ""
6029+ react-dom@18.2.0 :
6030+ version "18.2.0"
6031+ resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
6032+ integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
6033+ dependencies :
6034+ loose-envify "^1.1.0"
6035+ scheduler "^0.23.0"
60326036
60336037react-error-overlay@^6.0.11 :
60346038 version "6.0.11"
@@ -6122,13 +6126,22 @@ react-textarea-autosize@^8.3.2:
61226126 use-composed-ref "^1.3.0"
61236127 use-latest "^1.2.1"
61246128
6125- " react-tooltip@link:.. " :
6126- version "0.0.0"
6127- uid ""
6129+ react-tooltip@5.0.0-beta.0 :
6130+ version "5.0.0-beta.0"
6131+ resolved "https://registry.yarnpkg.com/react-tooltip/-/react-tooltip-5.0.0-beta.0.tgz#6411d37a9e874492901dc2205a86ee59e0d77f97"
6132+ integrity sha512-9CDjdFnow4UJrjKdIC8mR+PDFgJlkgkgOwd1xQO6nJLOCdQ7RJzWJEisuUjQzbr0ZX8zCIVTFnd9anOUKavkWA==
6133+ dependencies :
6134+ " @floating-ui/dom" " ^1.0.4"
6135+ " @floating-ui/react-dom" " ^1.0.0"
6136+ " @floating-ui/react-dom-interactions" " 0.11.0"
6137+ classnames "^2.3.2"
61286138
6129- " react@link:../node_modules/react " :
6130- version "0.0.0"
6131- uid ""
6139+ react@18.2.0 :
6140+ version "18.2.0"
6141+ resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
6142+ integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
6143+ dependencies :
6144+ loose-envify "^1.1.0"
61326145
61336146readable-stream@^2.0.1 :
61346147 version "2.3.7"
Original file line number Diff line number Diff line change 11{
22 "name" : " react-tooltip" ,
3- "version" : " 4.5 .0" ,
3+ "version" : " 5.0.0-beta .0" ,
44 "description" : " react tooltip component" ,
55 "scripts" : {
66 "dev" : " node ./cli.js --env=development && node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.dev.js --watch" ,
You can’t perform that action at this time.
0 commit comments