File tree 5 files changed +37
-15
lines changed 5 files changed +37
-15
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,15 @@ $ yarn
10
10
11
11
### Local Development
12
12
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
+
13
22
```
14
23
$ yarn start
15
24
```
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
11
11
## Installation
12
12
13
13
``` bash
14
- npm install react-tooltip
14
+ npm install react-tooltip@5.0.0-beta.0
15
15
```
16
16
17
17
or
18
18
19
19
``` bash
20
- yarn add react-tooltip
20
+ yarn add react-tooltip@5.0.0-beta.0
21
21
```
22
22
23
23
## Usage
Original file line number Diff line number Diff line change 20
20
"@mdx-js/react" : " ^1.6.22" ,
21
21
"clsx" : " ^1.2.1" ,
22
22
"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 "
26
26
},
27
27
"devDependencies" : {
28
28
"@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:
6026
6026
strip-ansi "^6.0.1"
6027
6027
text-table "^0.2.0"
6028
6028
6029
- " react-dom@link:../node_modules/react-dom " :
6030
- version "0.0.0"
6031
- uid ""
6029
+
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"
6032
6036
6033
6037
react-error-overlay@^6.0.11 :
6034
6038
version "6.0.11"
@@ -6122,13 +6126,22 @@ react-textarea-autosize@^8.3.2:
6122
6126
use-composed-ref "^1.3.0"
6123
6127
use-latest "^1.2.1"
6124
6128
6125
- " react-tooltip@link:.. " :
6126
- version "0.0.0"
6127
- uid ""
6129
+
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"
6128
6138
6129
- " react@link:../node_modules/react " :
6130
- version "0.0.0"
6131
- uid ""
6139
+
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"
6132
6145
6133
6146
readable-stream@^2.0.1 :
6134
6147
version "2.3.7"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-tooltip" ,
3
- "version" : " 4.5 .0" ,
3
+ "version" : " 5.0.0-beta .0" ,
4
4
"description" : " react tooltip component" ,
5
5
"scripts" : {
6
6
"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