File tree Expand file tree Collapse file tree 3 files changed +18
-10
lines changed Expand file tree Collapse file tree 3 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 33[ ![ js-standard-style] ( https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat )] ( https://github.com/feross/standard )
44[ ![ npm download] [ download-image ]] [ download-url ]
55[ ![ Build Status] ( https://travis-ci.org/wwayne/react-tooltip.svg?branch=master )] ( https://travis-ci.org/wwayne/react-tooltip )
6+ [ ![ 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 )
67
78[ download-image ] : https://img.shields.io/npm/dm/react-tooltip.svg?style=flat-square
89[ download-url ] : https://npmjs.org/package/react-tooltip
1112
1213[ ![ Edit ReactTooltip] ( https://codesandbox.io/static/img/play-codesandbox.svg )] ( https://codesandbox.io/s/heuristic-curran-bddeu?fontsize=14&hidenavigation=1&theme=dark )
1314
15+ Or see it on [ Github Page] ( https://wwayne.github.io/react-tooltip/ ) .
16+
1417## Maintainers
1518
1619[ aronhelser] ( https://github.com/aronhelser ) Passive maintainer - accepting PRs and doing minor testing, but not fixing issues or doing active development.
Original file line number Diff line number Diff line change @@ -652,15 +652,16 @@ export default class App extends Component {
652652 < p > { "<a data-for='soclose' data-tip='8'>8 (❂‿❂)</a>" } </ p >
653653 < p >
654654 { "<ReactTooltip id='soclose'\n" +
655- " getContent={(dataTip) => \n" +
655+ " getContent={(dataTip) => \n" +
656656 " <div><h3>This little buddy is {dataTip}</h3><p>Put mouse here</p></div> }\n" +
657- " effect='solid'\n" +
658- " delayHide={500}\n" +
659- " delayShow={500}\n" +
660- " delayUpdate={500}\n" +
661- " place={'right'}\n" +
662- " border={true}\n" +
663- " type={'light'}" }
657+ " effect='solid'\n" +
658+ " delayHide={500}\n" +
659+ " delayShow={500}\n" +
660+ " delayUpdate={500}\n" +
661+ " place={'right'}\n" +
662+ " border={true}\n" +
663+ " type={'light'}\n" +
664+ "/>" }
664665 </ p >
665666 </ div >
666667 </ pre >
@@ -760,8 +761,11 @@ export default class App extends Component {
760761 < div >
761762 < p >
762763 { "<a data-tip data-for='overridePosition'>( •̀д•́) override</a>\n" +
763- "<ReactTooltip id='overridePosition' overridePosition={ ({ left, top },\n" +
764- " currentEvent, currentTarget, node) => {\n" +
764+ "<ReactTooltip\n" +
765+ " id='overridePosition'\n" +
766+ " overridePosition={ (\n" +
767+ " { left, top },\n" +
768+ " currentEvent, currentTarget, node) => {\n" +
765769 " const d = document.documentElement;\n" +
766770 " left = Math.min(d.clientWidth - node.clientWidth, left);\n" +
767771 " top = Math.min(d.clientHeight - node.clientHeight, top);\n" +
Original file line number Diff line number Diff line change 2626 "path" : " node_modules/cz-conventional-changelog"
2727 }
2828 },
29+ "publishConfig" : { "registry" : " https://npm.pkg.github.com/" },
2930 "standard" : {
3031 "parser" : " babel-eslint" ,
3132 "ignore" : [
You can’t perform that action at this time.
0 commit comments