/** * Google OAuth Admin Components * * LoginButton for the login page, rendered via the auth provider virtual module. */ import { LinkButton } from "@cloudflare/kumo"; import * as React from "react"; function GoogleIcon({ className }: { className?: string }) { return ( ); } export function LoginButton({ inviteToken }: { inviteToken?: string } = {}) { const href = inviteToken ? `/_emdash/api/auth/oauth/google?invite=${encodeURIComponent(inviteToken)}` : "/_emdash/api/auth/oauth/google"; return ( Google ); }