@orangecheck/design / TooltipProps
Interface: TooltipProps
Defined in: primitives/tooltip.tsx:41
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-align"></a> align? | "start" | "center" | "end" | - | primitives/tooltip.tsx:47 |
<a id="property-children"></a> children | ReactElement | A single trigger element (a <button> etc.); receives the hover/focus wiring. | primitives/tooltip.tsx:45 |
<a id="property-closedelay"></a> closeDelay? | number | ms grace before closing on pointer-leave. Default 90. | primitives/tooltip.tsx:53 |
<a id="property-collisionpadding"></a> collisionPadding? | number | - | primitives/tooltip.tsx:49 |
<a id="property-content"></a> content | ReactNode | The tooltip body. | primitives/tooltip.tsx:43 |
<a id="property-contentclassname"></a> contentClassName? | string | - | primitives/tooltip.tsx:60 |
<a id="property-disabled"></a> disabled? | boolean | Force the tooltip closed regardless of hover/focus (e.g. while a shared menu is open). | primitives/tooltip.tsx:55 |
<a id="property-opendelay"></a> openDelay? | number | ms of sustained hover before opening. Default 300 (deliberate, not twitchy). | primitives/tooltip.tsx:51 |
<a id="property-portal"></a> portal? | boolean | Portal to <body> (default true). Set false to keep content inline so it inherits a scoped data-oc-theme. | primitives/tooltip.tsx:57 |
<a id="property-side"></a> side? | "top" | "right" | "bottom" | "left" | - | primitives/tooltip.tsx:46 |
<a id="property-sideoffset"></a> sideOffset? | number | - | primitives/tooltip.tsx:48 |
<a id="property-zindexclassname"></a> zIndexClassName? | string | z-index utility for the content. Default z-50. | primitives/tooltip.tsx:59 |