Genesis
@beta

googleProvider

A `SocialAuthProvider` (id `"google"`) for `AuthScreen`'s `providers`, or `null` when `enabled` is false.

packages/ui-native/src/layouts/google-sign-in.tsx

Import
Subpath export: @marktiderman/genesis-ui-native
import { googleProvider } from "@marktiderman/genesis-ui-native";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

googleProvider

A `SocialAuthProvider` (id `"google"`) for `AuthScreen`'s `providers`, or `null` when `enabled` is false.

PropTypeDefaultDescription
onPress*() => void | Promise<void>—Usually `() => signInWithGoogle(supabase, GoogleOneTapSignIn, { digest })`.
disabledboolean—
enabledboolean | nulltrue`false` (or `null`) gives `null`, so a switched-off provider goes in the list as is. Default true.
iconReactNode—Google's "G" mark, as the app draws it.
labelstringContinue with GoogleDefault "Continue with Google", Google's own wording.