UNPKG

primereact

Version:

PrimeReact is an open source UI library for React featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with Prime

22 lines (18 loc) 748 B
import * as React from 'react'; import TooltipOptions, { TooltipEventParams } from './tooltipoptions'; type TooltipTargetType = string | string[] | HTMLElement; export interface TooltipProps extends TooltipOptions { id?: string; target?: TooltipTargetType; content?: string; children?: React.ReactNode; } export declare class Tooltip extends React.Component<TooltipProps, any> { public updateTargetEvents(target: HTMLElement): void; public loadTargetEvents(target: HTMLElement): void; public unloadTargetEvents(target: HTMLElement): void; public getElement(): HTMLElement; public getTarget(): HTMLElement | null; public show(e?: TooltipEventParams): null; public hide(e?: TooltipEventParams): null; }