@web3auth/ui
Version:
Ui modal for web3Auth
17 lines (16 loc) • 777 B
TypeScript
import { type SafeEventEmitter } from "@web3auth/auth";
import { ChainNamespaceType, WalletRegistry } from "@web3auth/base";
import { ExternalWalletEventType, SocialLoginEventType, StateEmitterEvents } from "../interfaces";
interface ModalProps {
stateListener: SafeEventEmitter<StateEmitterEvents>;
appLogo?: string;
appName?: string;
chainNamespace: ChainNamespaceType;
walletRegistry?: WalletRegistry;
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 {};