ConnectWalletProps

type ConnectWalletProps = {
auth?: {
loginOptional?: boolean;
onLogin?: (token: string) => void;
onLogout?: () => void;
};
btnTitle?: string;
className?: string;
detailsBtn?: () => JSX.Element;
detailsModalFooter?: (props: { close: () => void }) => JSX.Element;
displayBalanceToken?: Record<number, string>;
hideBuyButton?: boolean;
hideDisconnect?: boolean;
hideReceiveButton?: boolean;
hideSendButton?: boolean;
hideSwitchToPersonalWallet?: boolean;
hideTestnetFaucet?: boolean;
modalSize?: "compact" | "wide";
modalTitle?: string;
modalTitleIconUrl?: string;
networkSelector?: Omit<
"theme" | "onClose" | "chains" | "open"
>;
onConnect?: (wallet: WalletInstance) => void;
privacyPolicyUrl?: string;
showThirdwebBranding?: boolean;
style?: React.CSSProperties;
supportedTokens?: SupportedTokens;
switchNetworkBtnTitle?: string;
switchToActiveChain?: boolean;
termsOfServiceUrl?: string;
theme?: "dark" | "light" | Theme;
welcomeScreen?: WelcomeScreen;
};