Skip to content

Commit

Permalink
Fixed the id in the clickable tooltip example
Browse files Browse the repository at this point in the history
  • Loading branch information
MosheEichler committed May 1, 2023
1 parent b5d6fea commit 9c629c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/examples/events.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Clicking anywhere outside the anchor element will close the tooltip.
import { Tooltip } from 'react-tooltip';
import 'react-tooltip/dist/react-tooltip.css';

<a data-tooltip-id="my-tooltip"> ◕‿‿◕ </a>
<a data-tooltip-id="my-tooltip-click"> ◕‿‿◕ </a>
<Tooltip
id="my-tooltip-click"
content="Hello world!"
Expand Down

0 comments on commit 9c629c6

Please sign in to comment.