Skip to content

Commit

Permalink
Merge pull request #1017 from MosheEichler/patch-1
Browse files Browse the repository at this point in the history
Fixed the `id` in the clickable tooltip example
  • Loading branch information
danielbarion committed May 1, 2023
2 parents b5d6fea + 9c629c6 commit 5911cab
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 5911cab

Please sign in to comment.