Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
20 lines
560 B
Plaintext
20 lines
560 B
Plaintext
import type React from 'react';
|
|
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.RefObject<null | Window>;
|
|
};
|
|
//# sourceMappingURL=usePopupWindow.d.ts.map |