Skip to content

Commit b1b6c0a

Browse files
docs: fix html element on example
1 parent eb80f7e commit b1b6c0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/getting-started.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ import { Tooltip } from 'react-tooltip'
101101
By default, you can't interact with elements inside the tooltip. To allow for proper usage of elements such as buttons and inputs, use the `clickable` prop.
102102

103103
```jsx
104-
<TooltipAnchor id="not-clickable">◕‿‿◕</TooltipAnchor>
104+
<a id="not-clickable">◕‿‿◕</a>
105105
<Tooltip anchorId="not-clickable">
106106
<button>You can't click me :(</button>
107107
</Tooltip>
108-
<TooltipAnchor id="clickable">◕‿‿◕</TooltipAnchor>
108+
<a id="clickable">◕‿‿◕</a>
109109
<Tooltip anchorId="clickable" clickable>
110110
<button>You can click me!</button>
111111
</Tooltip>

0 commit comments

Comments
 (0)