function Tooltip
Tooltip(unnamed 0: TooltipProps): React.JSX.Element

Renders children in a <span>, with text above them while the mouse is over them. The tooltip is portaled to <body>, so no container clips it, and it stays where it opened if the page scrolls. It never shows on touch or keyboard focus.

Parameters

unnamed 0: TooltipProps

Return Type

React.JSX.Element

Usage

import { Tooltip } from "src/components/shared/Tooltip.tsx";