Skip to content

Commit

Permalink
fix(githubPage): updating github page build in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Feb 9, 2020
1 parent efa2fa4 commit 87b810a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
[![npm download][download-image]][download-url]
[![Build Status](https://travis-ci.org/wwayne/react-tooltip.svg?branch=master)](https://travis-ci.org/wwayne/react-tooltip)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

[download-image]: https://img.shields.io/npm/dm/react-tooltip.svg?style=flat-square
[download-url]: https://npmjs.org/package/react-tooltip
Expand All @@ -11,6 +12,8 @@

[![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/).

## Maintainers

[aronhelser](https://github.com/aronhelser) Passive maintainer - accepting PRs and doing minor testing, but not fixing issues or doing active development.
Expand Down
24 changes: 14 additions & 10 deletions example/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,15 +652,16 @@ export default class App extends Component {
<p>{"<a data-for='soclose' data-tip='8'>8 (❂‿❂)</a>"}</p>
<p>
{"<ReactTooltip id='soclose'\n" +
" getContent={(dataTip) => \n" +
" getContent={(dataTip) => \n" +
" <div><h3>This little buddy is {dataTip}</h3><p>Put mouse here</p></div> }\n" +
" effect='solid'\n" +
" delayHide={500}\n" +
" delayShow={500}\n" +
" delayUpdate={500}\n" +
" place={'right'}\n" +
" border={true}\n" +
" type={'light'}"}
" effect='solid'\n" +
" delayHide={500}\n" +
" delayShow={500}\n" +
" delayUpdate={500}\n" +
" place={'right'}\n" +
" border={true}\n" +
" type={'light'}\n" +
"/>"}
</p>
</div>
</pre>
Expand Down Expand Up @@ -760,8 +761,11 @@ export default class App extends Component {
<div>
<p>
{"<a data-tip data-for='overridePosition'>( •̀д•́) override</a>\n" +
"<ReactTooltip id='overridePosition' overridePosition={ ({ left, top },\n" +
" currentEvent, currentTarget, node) => {\n" +
"<ReactTooltip\n" +
" id='overridePosition'\n" +
" overridePosition={ (\n" +
" { left, top },\n" +
" currentEvent, currentTarget, node) => {\n" +
" const d = document.documentElement;\n" +
" left = Math.min(d.clientWidth - node.clientWidth, left);\n" +
" top = Math.min(d.clientHeight - node.clientHeight, top);\n" +
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"path": "node_modules/cz-conventional-changelog"
}
},
"publishConfig": { "registry": "https://npm.pkg.github.com/" },
"standard": {
"parser": "babel-eslint",
"ignore": [
Expand Down

0 comments on commit 87b810a

Please sign in to comment.