Optional auth?: { Optional loginOptional onOptional onOptional btnOptional classOptional detailsOptional displayShow balance of ERC20 token instead of the native token in the "Connected" button when connected to certain network
<ConnectWallet balanceToken={{
1: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" // show USDC balance when connected to Ethereum mainnet
}} />
Optional dropdownOptional hideHide the "switch to Personal wallet" option in the dropdown which is shown when wallet is connected to either Smart Wallet or Safe
false
Optional hideHide option to request testnet funds for testnets in dropdown
false
Optional modalSet the size of the modal - compact or wide on desktop
Modal size is always compact on mobile
"wide"
Optional modalSet a custom title for the modal
"Connect"
Optional modalReplace the thirdweb icon next to modalTitle and set your own iconUrl
Set to empty string to hide the icon
Optional networkOptional privacyIf provided, Modal will show a Privacy Policy message at the bottom with below link
Optional style?: React.CSSPropertiesOptional supportedOverride the default supported tokens for each network
These tokens will be displayed in "Send Funds" Modal
Optional switchWhether to show "Switch Network" button if the wallet is connected,
but it is not connected to the activeChain provided in ThirdwebProvider
Please, note that if you support multiple networks in your app this prop should
be set to false to allow users to switch between networks.
false
Optional termsIf provided, Modal will show a Terms of Service message at the bottom with below link
Optional theme?: "dark" | "light" | ThemeOptional welcomeCustomize the welcome screen
Either provide a component to replace the default screen entirely
or an object with title, subtitle and imgSrc to change the content of the default screen
Generated using TypeDoc
render a custom button to display the connected wallet details instead of the default button