Options for configuring the ConnectButton 's Details Button
ConnectButton
type ConnectButton_detailsButtonOptions = { className?: string; displayBalanceToken?: Record<number, string>; render?: () => JSX.Element; style?: React.CSSProperties;};
CSS class to apply to the details button element
type className = string;
Display the balance of a token instead of the native token in ConnectButton details button.
type displayBalanceToken = Record<number, string>;
<ConnectButton detailsButton={{ displayBalanceToken:{ // show USDC balance when connected to Ethereum mainnet or Polygon [ethereum.id]: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599", [polygon.id]: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359", } })/>
function render(): JSX.Element;
let returnType: JSX.Element;
CSS styles to apply to the details button element
type style = React.CSSProperties;