Props for Tooltip.

interface TooltipProps {
    children: ReactElement;
    id?: string;
    label: ReactNode;
}

Properties

Properties

children: ReactElement

A single focusable element that triggers the tooltip.

id?: string
label: ReactNode

The hint text shown on hover/focus.