Skip to content

Commit 5911cab

Browse files
authored
Merge pull request #1017 from MosheEichler/patch-1
Fixed the `id` in the clickable tooltip example
2 parents b5d6fea + 9c629c6 commit 5911cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/examples/events.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Clicking anywhere outside the anchor element will close the tooltip.
7979
import { Tooltip } from 'react-tooltip';
8080
import 'react-tooltip/dist/react-tooltip.css';
8181

82-
<a data-tooltip-id="my-tooltip"> ◕‿‿◕ </a>
82+
<a data-tooltip-id="my-tooltip-click"> ◕‿‿◕ </a>
8383
<Tooltip
8484
id="my-tooltip-click"
8585
content="Hello world!"

0 commit comments

Comments
 (0)