1.0.0 • Published 6 years ago

@bam.tech/react-native-component-google-signin v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

Google SignIn Button

Installation

yarn add @bam.tech/react-native-component-google-signin

Props

Functional

googleSignInConfig

Configurations passed to GoogleSignIn

onAuthSuccess

Callback when Google auth succeeds (Receives data from Google API such as name, email, photo...etc)

onAuthFailure

Callback when Google auth fails (Receives an error object)

Style

There is also a number of styling props such as buttonStyle, textStyle, text, activityIndicatorColor, LogoSource, logoStyle, ActivityIndicatorComponent, TouchableComponent, TextComponent.