Docs

ConnectEmbedProps

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