Skip to content

Commit d2cbfac

Browse files
committed
Merge branch 'master' of github.com:react-component/tooltip
2 parents 2ea9dec + 1f1ac14 commit d2cbfac

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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

assets/bootstrap.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "boostrap/anim.less";
1+
@import "./boostrap/anim.less";
22

33
@tooltip-prefix-cls: rc-tooltip;
44

assets/bootstrap_white.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "boostrap/anim.less";
1+
@import "./boostrap/anim.less";
22

33
@tooltip-prefix-cls: rc-tooltip;
44

0 commit comments

Comments
 (0)