Docs

ConnectEmbedProps

type ConnectEmbedProps = {
auth?: {
loginOptional?: boolean;
onLogin?: (token: string) => void;
onLogout?: () => void;
};
className?: string;
onConnect?: (wallet: WalletInstance) => void;
privacyPolicyUrl?: string;
showThirdwebBranding?: boolean;
style?: React.CSSProperties;
termsOfServiceUrl?: string;
theme?: "dark" | "light" | Theme;
};