Skip to content

Commit 81ce00d

Browse files
committed
docs(readme): deleting broken link
as we use github pages and codesandbox, this link could be deleted fix #549
1 parent a555060 commit 81ce00d

File tree

3 files changed

+694
-656
lines changed

3 files changed

+694
-656
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
[![Edit ReactTooltip](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/heuristic-curran-bddeu?fontsize=14&hidenavigation=1&theme=dark)
1515

16-
Or see it on [Github Page](https://wwayne.github.io/react-tooltip/).
16+
Or see it on [Github Page](https://wwayne.github.io/react-tooltip).
1717

1818
## Maintainers
1919

@@ -44,7 +44,7 @@ yarn add react-tooltip
4444
1 . Require react-tooltip after installation
4545

4646
```js
47-
import ReactTooltip from "react-tooltip";
47+
import ReactTooltip from 'react-tooltip';
4848
```
4949

5050
2 . Add data-tip = "your placeholder" to your element
@@ -71,8 +71,6 @@ Notes:
7171
- The option you set on `<ReactTooltip />` component will be implemented on every tooltip in a same page: `<ReactTooltip effect="solid" />`
7272
- The option you set on a specific element, for example: `<a data-type="warning"></a>` will only affect this specific tooltip
7373

74-
Check example: [React-tooltip Test](https://react-tooltip.netlify.com/)
75-
7674
| Global | Specific | Type | Values | Description |
7775
| :--------------- | :-------------------- | :------------ | :------------------------------------------------------------------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7876
| place | data-place | String | top, right, bottom, left | placement |

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@
3232
"path": "node_modules/cz-conventional-changelog"
3333
}
3434
},
35-
"commitlint": {
36-
"extends": [
37-
"@commitlint/config-conventional"
38-
]
39-
},
4035
"repository": {
4136
"type": "git",
4237
"url": "https://github.com/wwayne/react-tooltip"
@@ -65,16 +60,6 @@
6560
"prop-types": "^15.7.2",
6661
"uuid": "^7.0.3"
6762
},
68-
"release": {
69-
"plugins": [
70-
"@semantic-release/commit-analyzer",
71-
"@semantic-release/release-notes-generator",
72-
"@semantic-release/changelog",
73-
"@semantic-release/npm",
74-
"@semantic-release/git"
75-
],
76-
"branch": "master"
77-
},
7863
"devDependencies": {
7964
"@babel/cli": "^7.7.4",
8065
"@babel/core": "^7.7.4",
@@ -106,7 +91,7 @@
10691
"commitizen": "2.9.6",
10792
"concurrently": "^2.1.0",
10893
"cpy-cli": "^3.1.0",
109-
"cz-conventional-changelog": "2.1.0",
94+
"cz-conventional-changelog": "^3.1.0",
11095
"enzyme": "^2.3.0",
11196
"enzyme-adapter-react-16": "^1.15.2",
11297
"eslint": "^6.8.0",
@@ -148,7 +133,7 @@
148133
"rollup-plugin-sass": "^1.2.2",
149134
"rollup-plugin-stylelint": "1.0.0",
150135
"rollup-plugin-url": "^3.0.1",
151-
"semantic-release": "15.1.5",
136+
"semantic-release": "^17.0.4",
152137
"snazzy": "^2.0.1",
153138
"standard": "^5.2.2",
154139
"stylelint": "13.2.0",
@@ -159,6 +144,21 @@
159144
"files": [
160145
"dist"
161146
],
147+
"release": {
148+
"plugins": [
149+
"@semantic-release/commit-analyzer",
150+
"@semantic-release/release-notes-generator",
151+
"@semantic-release/changelog",
152+
"@semantic-release/npm",
153+
"@semantic-release/git"
154+
],
155+
"branch": "master"
156+
},
157+
"commitlint": {
158+
"extends": [
159+
"@commitlint/config-conventional"
160+
]
161+
},
162162
"lint-staged": {
163163
"*.{js,ts}": "yarn eslint:fix"
164164
},

0 commit comments

Comments
 (0)