ModalConfigOptions

type ModalConfigOptions = {
auth?: {
loginOptional?: boolean;
onLogin?: (token: string) => void;
onLogout?: () => void;
};
modalSize: "wide" | "compact";
onConnect?: () => void;
privacyPolicyUrl?: string;
showThirdwebBranding?: boolean;
termsOfServiceUrl?: string;
theme?: "light" | "dark" | Theme;
title?: string;
titleIconUrl?: string;
welcomeScreen?: WelcomeScreen;
};