import * as React from 'react'; export interface Props { /** * Sets a CSS class on the component. */ className?: string, id?: string; /** * A key used to uniquely identify the element within an Array */ key?: string, /** * Inline style */ style?: any, /** * Tooltip text * APPLIES ONLY IF THE COMPONENT IS WRAPPED WITH Tooltip. * @see http://react-toolbox.com/#/components/tooltip */ tooltip?: string, /** * Amount of time in miliseconds spent before the tooltip is visible. * APPLIES ONLY IF THE COMPONENT IS WRAPPED WITH Tooltip. * @see http://react-toolbox.com/#/components/tooltip */ tooltipDelay?: number, /** * If true, the Tooltip hides after a click in the host component. * APPLIES ONLY IF THE COMPONENT IS WRAPPED WITH Tooltip. * @default true * @see http://react-toolbox.com/#/components/tooltip */ tooltipHideOnClick?: boolean, } export interface OverlayProps extends Props { active?: boolean; children?: any; /** * Sets a CSS class on the component. */ className?: string; invisible?: boolean; onClick?: Function; onEscKeyDown?: Function } export default class Overlay extends React.Component { render(): React.DOMElement; }