tooltip API
overlays/tooltip.tsx
Tooltip
Props
Prop | Type | Default | Description |
---|---|---|---|
children * | ReactNode | — | |
content * | ReactNode | — | |
direction | TooltipDirection | undefined | TooltipDirection.Bottom | |
size | TooltipSize | "sm" | "md" | "lg" | "xl" | undefined | TooltipSize.Compact | |
delayMs | number | undefined | 500 | |
placement | "top" | "right" | "bottom" | "left" | undefined | — | |
contentClassName | string | undefined | — | |
widthClassName | string | undefined | — | |
open | boolean | undefined | — | |
animationVariants | TooltipAnimationVariants | undefined | — | Custom animation variants for tooltip entrance/exit |
Show native HTML props
Native HTML Props
Prop | Type | Default | Description |
---|---|---|---|
title | string | undefined | — |