UNPKG

@furystack/shades-common-components

Version:

Common UI components for FuryStack Shades

25 lines 780 B
export type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right'; export type TooltipProps = { /** * The tooltip content to display */ title: JSX.Element | string; /** * Placement of the tooltip relative to its trigger element */ placement?: TooltipPlacement; /** * Delay in milliseconds before the tooltip appears */ delay?: number; /** * Whether the tooltip is disabled */ disabled?: boolean; }; export declare const Tooltip: (props: TooltipProps & Omit<Partial<HTMLElement>, "style"> & { style?: Partial<CSSStyleDeclaration>; } & { ref?: import("@furystack/shades").RefObject<Element>; }, children?: import("@furystack/shades").ChildrenList) => JSX.Element; //# sourceMappingURL=tooltip.d.ts.map