Skip to content

Commit 8687152

Browse files
authored
Merge pull request #145 from meandavejustice/patch-1
fix typo
2 parents cb819cd + ede0dc8 commit 8687152

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
@@ -83,7 +83,7 @@ method to control tooltip's behaviour in some situations
8383
#### Using tooltip within the modal (e.g. [react-modal](https://github.com/reactjs/react-modal))
8484
The component was designed to set a `<Reactooltip />` one place then use tooltip everywhere, but a lot of people stuck in using this component with modal, you can check the discussion [here](https://github.com/wwayne/react-tooltip/issues/130), the summarization of solving the problem is as following:
8585

86-
1. Put `<Reactootlip />` out of the `<Modal>`
86+
1. Put `<ReactTooltip />` out of the `<Modal>`
8787
2. Use `React.rebuild()` when opening the modal
8888
3. If your modal's z-index happens to higher than the tooltip, use the attribute `class` to custom your tooltip's z-index
8989

0 commit comments

Comments
 (0)