import { Components } from '@singularsystems/neo-core'; import React, { HTMLAttributes } from 'react'; export interface ITooltipProps extends Components.Tooltip.ITooltipOptions { /** * True if the div wrapping the content must display inline. */ inline?: boolean; children: React.ReactNode; } export default class Tooltip extends React.Component { private divRef; private contentRef; constructor(props: ITooltipProps); componentWillUnmount(): void; private onMouseEnter; private onMouseLeave; render(): React.JSX.Element; static fromDataAttributes(element: React.ReactNode, attributes: { [key: string]: any; }): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | React.JSX.Element | null | undefined; static setDomProperties(dom: HTMLAttributes & { [key: string]: any; }, tooltipOptions: string | Components.Tooltip.ITooltipOptions): void; static hasTooltip(dom: HTMLAttributes & { [key: string]: any; }): boolean; }