Skip to content

Tooltip

Interfaces

TooltipProps

Defined in: src/shared/ui/Tooltip.tsx:4

Properties

Property Type Description Defined in
children ReactNode - src/shared/ui/Tooltip.tsx:6
className? string - src/shared/ui/Tooltip.tsx:7
label string - src/shared/ui/Tooltip.tsx:5
wide? boolean Wrap the bubble to a readable width (for sentence-length explanations). src/shared/ui/Tooltip.tsx:9

Functions

Tooltip()

function Tooltip(__namedParameters): Element;

Defined in: src/shared/ui/Tooltip.tsx:16

A lightweight CSS hover/focus tooltip. Good enough for icon labels; not a portal-based positioned tooltip.

Parameters

Parameter Type
__namedParameters TooltipProps

Returns

Element