biuauthui
Version:
Ui modal for biuAuth
17 lines (16 loc) • 742 B
TypeScript
import type { SafeEventEmitter } from "@toruslabs/openlogin-jrpc";
import { OPENLOGIN_NETWORK_TYPE } from "@toruslabs/openlogin-utils";
import { ExternalWalletEventType, SocialLoginEventType } from "../interfaces";
interface ModalProps {
stateListener: SafeEventEmitter;
appLogo?: string;
adapterLogo?: string;
appName?: string;
web3AuthNetwork: OPENLOGIN_NETWORK_TYPE;
handleSocialLoginClick: (params: SocialLoginEventType) => void;
handleExternalWalletClick: (params: ExternalWalletEventType) => void;
handleShowExternalWallets: (externalWalletsInitialized: boolean) => void;
closeModal: () => void;
}
export default function Modal(props: ModalProps): import("react/jsx-runtime").JSX.Element;
export {};