UNPKG

react-tooltip-z

Version:

React simple tooltip - ts/js. Fetch, click, hover...

19 lines (18 loc) 601 B
/// <reference types="react" /> export type TypePlacement = 'top' | 'bottom' | 'left' | 'right'; export type TypeTrigger = 'hover' | 'focus' | 'click' | 'manual'; export interface IFTooltipBaseProps { tooltipContent?: string | React.ReactNode; tooltipClassName?: string; constrainWidth?: boolean; showDelay?: number | string; animationDisplay?: 'fade' | 'zoom'; backgroundColor?: string; tooltipColor?: string; arrowCentered?: boolean; placement?: TypePlacement; top?: boolean; bottom?: boolean; left?: boolean; right?: boolean; }