UNPKG

@metadaoproject/wallet-adapter-react-ui

Version:
7 lines 500 B
import React from 'react'; import { Button } from './Button.js'; import { WalletIcon } from './WalletIcon.js'; export function BaseWalletConnectionButton({ walletIcon, walletName, ...props }) { return (React.createElement(Button, { ...props, className: "wallet-adapter-button-trigger", startIcon: walletIcon && walletName ? (React.createElement(WalletIcon, { wallet: { adapter: { icon: walletIcon, name: walletName } } })) : undefined })); } //# sourceMappingURL=BaseWalletConnectionButton.js.map