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