1.0.1 • Published 4 years ago

@onepark/react-native-component-google-signin v1.0.1

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

Google SignIn Button

Installation

yarn add @onepark/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

buttonStyle

textStyle

text

activityIndicatorColor

LogoSource

logoStyle

ActivityIndicatorComponent

TouchableComponent

TextComponent