Skip to content

1681-engine / react / Tooltip

Function: Tooltip() ​

ts
function Tooltip(__namedParameters): Element;

Defined in: src/react/Tooltip.tsx:26

A tooltip frame kept on screen by its own measured size (placeTooltip): under the cursor while it fits, over it when it does not, slid along the edge, never taller than the viewport. Portalled to the UiProvider's portal, so a window's overflow or transform never clips or shifts it.

Parameters ​

ParameterType
__namedParametersTooltipProps

Returns ​

Element

Released under the MIT License.