oc · docs
docs / documentation

@orangecheck/design


@orangecheck/design / TooltipProps

Interface: TooltipProps

Defined in: primitives/tooltip.tsx:41

Properties

PropertyTypeDescriptionDefined in
<a id="property-align"></a> align?"start" | "center" | "end"-primitives/tooltip.tsx:47
<a id="property-children"></a> childrenReactElementA single trigger element (a <button> etc.); receives the hover/focus wiring.primitives/tooltip.tsx:45
<a id="property-closedelay"></a> closeDelay?numberms 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> contentReactNodeThe tooltip body.primitives/tooltip.tsx:43
<a id="property-contentclassname"></a> contentClassName?string-primitives/tooltip.tsx:60
<a id="property-disabled"></a> disabled?booleanForce 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?numberms of sustained hover before opening. Default 300 (deliberate, not twitchy).primitives/tooltip.tsx:51
<a id="property-portal"></a> portal?booleanPortal 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?stringz-index utility for the content. Default z-50.primitives/tooltip.tsx:59