UNPKG

react-life-design

Version:
21 lines (20 loc) 510 B
import * as React from 'react'; interface IProps { active: boolean; type?: string; onClose: (boolean: boolean) => void; onConfirm?: () => void | any; onConfirmText?: string; selector: string; } export default class Modal extends React.PureComponent<IProps> { el: HTMLElement | Node | null; state: { animation: string; }; componentDidMount(): void; onClose: () => Promise<void>; onConfirm: () => any; render(): false | React.ReactPortal; } export {};