DOCS

ConnectWalletProps

type ConnectWalletProps = {
  auth?: {
    loginOptional?: boolean;
    onLogin?: (token: string) => void;
    onLogout?: () => void;
  };
  btnTitle?: string;
  className?: string;
  detailsBtn?: () => JSX.Element;
  displayBalanceToken?: Record<number, string>;
  dropdownPosition?: DropDownPosition;
  hideSwitchToPersonalWallet?: boolean;
  hideTestnetFaucet?: boolean;
  modalSize?: "compact" | "wide";
  modalTitle?: string;
  modalTitleIconUrl?: string;
  networkSelector?: Omit<
    NetworkSelectorProps,
    "theme" | "onClose" | "chains" | "open"
  >;
  privacyPolicyUrl?: string;
  style?: React.CSSProperties;
  supportedTokens?: SupportedTokens;
  switchToActiveChain?: boolean;
  termsOfServiceUrl?: string;
  theme?: "dark" | "light" | Theme;
  welcomeScreen?: WelcomeScreen;
};