Skip to content

Commit

Permalink
Merge pull request #337 from gaohailang/patch-1
Browse files Browse the repository at this point in the history
Fix README show tip usage error
  • Loading branch information
aronhelser authored Apr 5, 2018
2 parents 5686c8f + 1f85622 commit f686afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ import {findDOMNode} from 'react-dom'
import ReactTooltip from 'react-tooltip'

<p ref='foo' data-tip='tooltip'></p>
<button onClick={() => { ReactTooltip.show(this.refs.foo) }}></button>
<button onClick={() => { ReactTooltip.show(findDOMNode(this.refs.foo)) }}></button>
<ReactTooltip />
```

Expand Down

0 comments on commit f686afd

Please # to comment.