File tree 3 files changed +18
-10
lines changed
3 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 3
3
[ ![ js-standard-style] ( https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat )] ( https://github.com/feross/standard )
4
4
[ ![ npm download] [ download-image ]] [ download-url ]
5
5
[ ![ 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 )
6
7
7
8
[ download-image ] : https://img.shields.io/npm/dm/react-tooltip.svg?style=flat-square
8
9
[ download-url ] : https://npmjs.org/package/react-tooltip
11
12
12
13
[ ![ Edit ReactTooltip] ( https://codesandbox.io/static/img/play-codesandbox.svg )] ( https://codesandbox.io/s/heuristic-curran-bddeu?fontsize=14&hidenavigation=1&theme=dark )
13
14
15
+ Or see it on [ Github Page] ( https://wwayne.github.io/react-tooltip/ ) .
16
+
14
17
## Maintainers
15
18
16
19
[ 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 {
652
652
< p > { "<a data-for='soclose' data-tip='8'>8 (❂‿❂)</a>" } </ p >
653
653
< p >
654
654
{ "<ReactTooltip id='soclose'\n" +
655
- " getContent={(dataTip) => \n" +
655
+ " getContent={(dataTip) => \n" +
656
656
" <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
+ "/>" }
664
665
</ p >
665
666
</ div >
666
667
</ pre >
@@ -760,8 +761,11 @@ export default class App extends Component {
760
761
< div >
761
762
< p >
762
763
{ "<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" +
765
769
" const d = document.documentElement;\n" +
766
770
" left = Math.min(d.clientWidth - node.clientWidth, left);\n" +
767
771
" top = Math.min(d.clientHeight - node.clientHeight, top);\n" +
Original file line number Diff line number Diff line change 26
26
"path" : " node_modules/cz-conventional-changelog"
27
27
}
28
28
},
29
+ "publishConfig" : { "registry" : " https://npm.pkg.github.com/" },
29
30
"standard" : {
30
31
"parser" : " babel-eslint" ,
31
32
"ignore" : [
You can’t perform that action at this time.
0 commit comments