UNPKG

payload

Version:

Node, React and MongoDB Headless CMS and Application Framework

19 lines 535 B
export interface PopupMessage { searchParams: { [key: string]: string | undefined; code: string; installation_id: string; state: string; }; type: string; } export declare const usePopupWindow: (props: { eventType?: string; onMessage?: (searchParams: PopupMessage['searchParams']) => Promise<void>; url: string; }) => { isPopupOpen: boolean; openPopupWindow: () => void; popupRef?: React.MutableRefObject<Window | null>; }; //# sourceMappingURL=usePopupWindow.d.ts.map