UNPKG

@web3auth-mpc/ui

Version:
16 lines (15 loc) 696 B
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 {};