MiHCM
overlay/@mihcm/ui·v0.21.0·stable

Tooltip

Hover/focus tooltip (web) or long-press tooltip (native). Configurable side and delay.

Props

The full prop API for Tooltip. Same surface in web and React Native — bundlers pick the right variant via the react-native export condition.

PropTypeDefaultDescriptionSince
contentReactNodeTooltip content text or element. Required.0.5.0
side'top' | 'bottom' | 'left' | 'right''top'Which side to display the tooltip.0.5.0
delayMsnumber300Delay before showing (ms).0.5.0
interactivebooleanfalseAllows pointer interaction inside the tooltip body. Prefer Popover for interactive content.0.10.1
contentClassNamestringExtra classes on the tooltip body. Use whitespace-normal only for intentional wrapping.0.10.1

Import

import { Tooltip } from '@mihcm/ui/Tooltip';