UNPKG

react-popup-manager

Version:

Manage react popups, Modals, Lightboxes, Notifications, etc. easily

20 lines (19 loc) 566 B
import { PopupProps } from '../popupsDef'; declare type PopupItemProps = PopupProps & { [key: string]: any; }; export declare class PopupItem { ComponentClass: any; props: PopupItemProps; guid: string; private _isOpen; private readonly _response; private _resolve; private _reject; constructor(ComponentClass: any, props: PopupItemProps, guid: string); get isOpen(): boolean; get response(): Promise<any>; private resolveResponse; close(onConsumerOnCloseCallback?: Function, closeArgs?: any[]): void; } export {};