ConnectButton_detailsModalOptions
Options for configuring the ConnectButton
's Details Modal
type ConnectButton_detailsModalOptions = { footer?: (props: { close: () => void }) => JSX.Element; hideDisconnect?: boolean; showTestnetFaucet?: boolean;};
function footer(props: { close: () => void }): JSX.Element;
customize the Network selector shown in the ConnectButton
Details Modal
Configure options for thirdweb Pay.
thirdweb Pay allows users to buy tokens using crypto or fiat currency.
Show a "Request Testnet funds" link in ConnectButton
Details Modal when user is connected to a testnet.
By default it is false
, If you want to show the "Request Testnet funds" link when user is connected to a testnet, set this prop to true
type showTestnetFaucet = boolean;
<ConnectButton showTestnetFaucet={true} />;