We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d79766 commit 37430eaCopy full SHA for 37430ea
src/App.tsx
@@ -21,13 +21,18 @@ function WithProvider() {
21
<p>
22
<button
23
ref={buttonRef1}
24
+ data-tooltip-place="right"
25
data-tooltip-content={`Hello World from a Tooltip ${clickCount}`}
26
onClick={() => setClickCount((i) => i + 1)}
27
>
- Hover or focus me
28
+ Hover or focus me 4
29
</button>
- <button ref={buttonRef2} data-tooltip-content="Hello World from a Tooltip 2">
30
- Hover or focus me 2
+ <button
31
+ ref={buttonRef2}
32
+ data-tooltip-place="bottom"
33
+ data-tooltip-content="Hello World from a Tooltip 5"
34
+ >
35
+ Hover or focus me 5
36
37
</p>
38
<Tooltip />
0 commit comments