Skip to content

Commit

Permalink
docs(readme): deleting broken link
Browse files Browse the repository at this point in the history
as we use github pages and codesandbox, this link could be deleted

fix ReactTooltip#549
  • Loading branch information
roggervalf committed Jun 14, 2020
1 parent a555060 commit 81ce00d
Show file tree
Hide file tree
Showing 3 changed files with 694 additions and 656 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

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

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

## Maintainers

Expand Down Expand Up @@ -44,7 +44,7 @@ yarn add react-tooltip
1 . Require react-tooltip after installation

```js
import ReactTooltip from "react-tooltip";
import ReactTooltip from 'react-tooltip';
```

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

Check example: [React-tooltip Test](https://react-tooltip.netlify.com/)

| Global | Specific | Type | Values | Description |
| :--------------- | :-------------------- | :------------ | :------------------------------------------------------------------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| place | data-place | String | top, right, bottom, left | placement |
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
"path": "node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"repository": {
"type": "git",
"url": "https://github.com/wwayne/react-tooltip"
Expand Down Expand Up @@ -65,16 +60,6 @@
"prop-types": "^15.7.2",
"uuid": "^7.0.3"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
],
"branch": "master"
},
"devDependencies": {
"@babel/cli": "^7.7.4",
"@babel/core": "^7.7.4",
Expand Down Expand Up @@ -106,7 +91,7 @@
"commitizen": "2.9.6",
"concurrently": "^2.1.0",
"cpy-cli": "^3.1.0",
"cz-conventional-changelog": "2.1.0",
"cz-conventional-changelog": "^3.1.0",
"enzyme": "^2.3.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
Expand Down Expand Up @@ -148,7 +133,7 @@
"rollup-plugin-sass": "^1.2.2",
"rollup-plugin-stylelint": "1.0.0",
"rollup-plugin-url": "^3.0.1",
"semantic-release": "15.1.5",
"semantic-release": "^17.0.4",
"snazzy": "^2.0.1",
"standard": "^5.2.2",
"stylelint": "13.2.0",
Expand All @@ -159,6 +144,21 @@
"files": [
"dist"
],
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
],
"branch": "master"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts}": "yarn eslint:fix"
},
Expand Down
Loading

0 comments on commit 81ce00d

Please sign in to comment.