UNPKG

pouncejs

Version:

A collection of UI components from Panther labs

15 lines (14 loc) 601 B
import React from 'react'; import { Alignment } from '../../utils/useAlignment'; export interface TooltipProps { /** The string or HTML that the tooltip will show */ content: string | React.ReactElement; /** The wrapper that contains the contnet */ wrapper?: React.ElementType; /** The alignment of the tooltip relative to the content */ alignment?: Alignment; /** @ignore */ children: React.ReactElement; } declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>>; export default _default;