Docs

ConnectEmbedProps

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