UNPKG

goobs-frontend

Version:

A comprehensive React-based libary for building modern web applications

26 lines 933 B
import { default as React } from 'react'; import { TooltipStyles } from '../../theme'; export interface TooltipProps { children: React.ReactNode; title: string; tooltipplacement?: 'left' | 'right' | 'top' | 'bottom'; offsetX?: number; offsetY?: number; /** Comprehensive styling options including theme, custom colors, and layout properties. */ styles?: TooltipStyles; arrow?: boolean; open?: boolean; onOpen?: () => void; onClose?: () => void; enterDelay?: number; leaveDelay?: number; /** Render tooltip in a portal (useful for modals) */ usePortal?: boolean; /** Portal container (defaults to document.body) */ portalContainer?: Element; /** Custom arrow positioning - percentage from left/top edge (0-100) */ arrowPosition?: number; } declare const StyledTooltip: React.FC<TooltipProps>; export default StyledTooltip; //# sourceMappingURL=index.d.ts.map