UNPKG

react-tooltip-z

Version:

Lightweight, customizable React tooltip component with hover, click, focus and manual trigger support.

12 lines (11 loc) 373 B
interface Props { isOpen?: boolean; isManual: boolean; tooltipId: string; mouseWheel: boolean; closeOnScroll?: boolean; target?: HTMLElement | Element | null; hideTooltip: () => void; } export declare function useTooltipEvents({ isOpen, isManual, tooltipId, mouseWheel, closeOnScroll, target, hideTooltip, }: Props): void; export {};