import * as React from 'react'; import { IDiv } from '../../interfaces'; interface ModalProps extends IDiv { /** * If true, Apply location of modal center of screen * @default true */ centered?: boolean; /** * Callback function, when modal is closed */ onClose: (e: any) => void; /** * Callback function, when modal is opened */ onEnter?: (e: any) => void; /** * If true, when you click overlay, modal will close * @default true */ closeOnOverlay?: boolean; /** * Width of modal * @default 320 */ width?: number; /** * Height of modal */ height?: number; /** * If true, modal will be visible */ active?: boolean; /** * Additional classes */ className?: string; } export declare class Modal extends React.PureComponent { static defaultProps: { closeOnOverlay: boolean; width: number; centered: boolean; }; componentDidMount(): void; componentWillUnmount(): void; handleEnter: (e: any) => void; handleClose: (e: any) => void; handleCloseOnOverlay: (e: any) => void; render(): React.ReactPortal; } export {};