Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
A tooltip displays additional information about another component. The information is displayed above and near the target component.
Name | Description | Default |
---|---|---|
content* | ReactChild | ReactNodeArray | ReactPortal | ({ as?: "div" | undefined; } & Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<...>> & { ...; } & { ...; }) | null | - |
appearance | The tooltip's visual appearance.
* "normal""inverted" | - |
positioning | Configure the positioning of the tooltip PositioningShorthand | - |
visible | Control the tooltip's visibility programatically. This can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior. If not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the trigger (child) element. boolean | - |
withArrow | Render an arrow pointing to the target element boolean | - |
onVisibleChange | Notification when the visibility of the tooltip is changing ((event: FocusEvent<HTMLElement> | PointerEvent<HTMLElement>, data: OnVisibleChangeData) => void) | - |
showDelay | Delay before the tooltip is shown, in milliseconds. number | - |
hideDelay | Delay before the tooltip is hidden, in milliseconds. number | - |
relationship* | (Required) Specifies whether this tooltip is acting as the description or label of its trigger element.
"label""description""inaccessible" | - |