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-nativeimport { 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.
| Prop | Type | Default | Description |
|---|---|---|---|
| onPress* | () => void | Promise<void> | — | Usually `() => signInWithGoogle(supabase, GoogleOneTapSignIn, { digest })`. |
| disabled | boolean | — | |
| enabled | boolean | null | true | `false` (or `null`) gives `null`, so a switched-off provider goes in the list as is. Default true. |
| icon | ReactNode | — | Google's "G" mark, as the app draws it. |
| label | string | Continue with Google | Default "Continue with Google", Google's own wording. |