@syncfusion/ej2-react-popups
Version:
A package of Essential JS 2 popup components such as Dialog and Tooltip that is used to display information or messages in separate pop-ups. for React
38 lines (37 loc) • 1.27 kB
TypeScript
import * as React from 'react';
import { Tooltip, TooltipModel } from '@syncfusion/ej2-popups';
import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base';
export interface TooltipTypecast {
content?: string | Function | any;
}
/**
* Represents the React Tooltip component that displays a piece of information about the target element on mouse hover.
* ```html
* <Tooltip content='Tooltip content'>Show Tooltip</Tooltip>
* ```
*/
export declare class TooltipComponent extends Tooltip {
state: Readonly<{
children?: React.ReactNode | React.ReactNode[];
}> & Readonly<TooltipModel | DefaultHtmlAttributes | TooltipTypecast>;
setState: any;
private getDefaultAttributes;
initRenderCalled: boolean;
private checkInjectedModules;
private statelessTemplateProps;
private templateProps;
private immediateRender;
private isReactMock;
props: Readonly<{
children?: React.ReactNode | React.ReactNode[];
}> & Readonly<TooltipModel | DefaultHtmlAttributes | TooltipTypecast>;
forceUpdate: (callBack?: () => any) => void;
context: Object;
portals: any;
isReactComponent: Object;
refs: {
[key: string]: React.ReactInstance;
};
constructor(props: any);
render(): any;
}