Tooltip API
API reference docs for theTooltip
component. For examples and details on the usage of this component, visit the component demo page.
Props
Props | Type | Description | Default |
---|---|---|---|
|
| The child element that the tooltip will wrap, such as a button or other interactive element. | _ |
|
| The text or content that will be displayed inside the tooltip. | _ |
|
| An optional ID for the tooltip. If no value is provided, an ID will be automatically generated | _ |
|
| The maximum width of the popover. |
|
|
Internally imports | Defines the tooltip's placement relative to the trigger element. |
|
|
| Whether the tooltip should be placed within a React Portal. |
|
|
Internally imports | The strategy used to position the floating element. |
|
|
| Controls the visibility of tooltip. When set to |
|