@web3auth-mpc/ui
Version:
Ui modal for web3Auth
23 lines (22 loc) • 728 B
TypeScript
import { BaseAdapterConfig, IWalletConnectExtensionAdapter } from "@web3auth-mpc/base";
import { ModalStatusType } from "../interfaces";
declare global {
interface Window {
ethereum: {
isMetaMask?: boolean;
};
}
}
interface ExternalWalletsProps {
hideExternalWallets: () => void;
handleExternalWalletClick: (params: {
adapter: string;
}) => void;
config: Record<string, BaseAdapterConfig>;
walletConnectUri: string | undefined;
showBackButton: boolean;
modalStatus: ModalStatusType;
wcAdapters: IWalletConnectExtensionAdapter[];
}
export default function ExternalWallet(props: ExternalWalletsProps): import("react/jsx-runtime").JSX.Element;
export {};