Skip to content

Commit c222171

Browse files
authored
Update README.md (#251)
1 parent e5acdc6 commit c222171

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ Online examples: <https://react-component.github.io/tooltip/examples/>
195195
</tbody>
196196
</table>
197197

198-
## Note
198+
## Important Note
199199

200-
`Tooltip` requires child node accepts `onMouseEnter`, `onMouseLeave`, `onFocus`, `onClick` event.
200+
`Tooltip` requires a child node that accepts an `onMouseEnter`, `onMouseLeave`, `onFocus`, `onClick` event. This means the child node must be a built-in component like `div` or `span`, or a custom component that passes its props to its built-in component child.
201201

202202
## Accessibility
203203

0 commit comments

Comments
 (0)