From 87b810a5d0e4caf8fec6503e1bdfa7e765885d9b Mon Sep 17 00:00:00 2001 From: Rogger794 Date: Sun, 9 Feb 2020 17:19:12 -0500 Subject: [PATCH] fix(githubPage): updating github page build in travis --- README.md | 3 +++ example/src/App.js | 24 ++++++++++++++---------- package.json | 1 + 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a08477e36..56e1f499a 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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. diff --git a/example/src/App.js b/example/src/App.js index edbb0195b..70cd5ef53 100644 --- a/example/src/App.js +++ b/example/src/App.js @@ -652,15 +652,16 @@ export default class App extends Component {

{"8 (❂‿❂)"}

{" \n" + + " getContent={(dataTip) => \n" + "

This little buddy is {dataTip}

Put mouse here

}\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" + + "/>"}

@@ -760,8 +761,11 @@ export default class App extends Component {

{"( •̀д•́) override\n" + - " {\n" + + " {\n" + " const d = document.documentElement;\n" + " left = Math.min(d.clientWidth - node.clientWidth, left);\n" + " top = Math.min(d.clientHeight - node.clientHeight, top);\n" + diff --git a/package.json b/package.json index fb6beaf54..b5dd6b43f 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "path": "node_modules/cz-conventional-changelog" } }, + "publishConfig": { "registry": "https://npm.pkg.github.com/" }, "standard": { "parser": "babel-eslint", "ignore": [