UNPKG

@web3auth/ui

Version:
35 lines (31 loc) 870 B
'use strict'; var ExternalWalletConnect = require('./ExternalWalletConnect.js'); var ExternalWalletInstall = require('./ExternalWalletInstall.js'); var jsxRuntime = require('react/jsx-runtime'); function ExternalWalletDetail(props) { const { connectButton, walletConnectUri, goBack, closeModal } = props; return /*#__PURE__*/jsxRuntime.jsx("div", { children: connectButton.hasWalletConnect ? /*#__PURE__*/ // Wallet Connect jsxRuntime.jsx(ExternalWalletConnect, { connectButton: connectButton, walletConnectUri: walletConnectUri, goBack: goBack, closeModal: closeModal }) : /*#__PURE__*/ // Download wallets jsxRuntime.jsx(ExternalWalletInstall, { connectButton: connectButton, goBack: goBack, closeModal: closeModal }) }); } module.exports = ExternalWalletDetail;