UNPKG

@payfit/unity-components

Version:

11 lines (10 loc) 483 B
import { ReactElement } from 'react'; export interface TooltipProps { /** The content displayed in the tooltip. */ title: string; /** The trigger element that displays the tooltip. */ children: ReactElement; /** The duration of delay/close delay for the tooltip. */ duration?: 'short' | 'standard' | 'long' | 'very-long'; } export declare const Tooltip: import('react').ForwardRefExoticComponent<TooltipProps & import('react').RefAttributes<HTMLDivElement>>;