UNPKG

@telsystems/design

Version:
19 lines (18 loc) 535 B
/// <reference types="react" /> import { TOOLTIP_ALIGN, TOOLTIP_POSITION, TOOLTIP_SIZE } from './index'; export interface ITooltip { text: string | JSX.Element; header?: string; link?: string; link_text?: string; align?: TOOLTIP_ALIGN; size?: TOOLTIP_SIZE; position?: TOOLTIP_POSITION; isActive?: boolean; className?: string; contentClassName?: string; contentStyle?: object; getRef?: (node: HTMLElement | null) => void; onCloseClick?: () => void; onOutsideClick?: () => void; }