Skip to content

Commit 9f2451d

Browse files
authored
Update README.md
1 parent 3ae8c56 commit 9f2451d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ import {findDOMNode} from 'react-dom'
112112
import ReactTooltip from 'react-tooltip'
113113

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

0 commit comments

Comments
 (0)