Skip to content

Commit 9c629c6

Browse files
authored
Fixed the id in the clickable tooltip example
1 parent b5d6fea commit 9c629c6

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)