trigger | ReactNode | - | |
|
render | ReactElement | - | |
|
triggerLabel | string | - | |
|
content | ReactNode | - | The tooltip's text. |
| The tooltip's text. |
shortcut | string | - | A key or chord after the text, drawn as a keycap. |
| A key or chord after the text, drawn as a keycap. |
side | top | right | bottom | left | top | |
|
sideOffset | number | 8 | Gap between the trigger and the tooltip, or its arrow tip, in pixels. |
| Gap between the trigger and the tooltip, or its arrow tip, in pixels. |
arrow | boolean | true | |
|
delay | number | 300 | |
|
variant | light | dark | danger | light | |
|
shape | none | rounded | pill | rounded | |
|
animated | boolean | true | |
|
className | string | - | |
|
focus | boolean | string | true | |
|
container | HTMLElement | null | - | |
|