@onepark/react-native-component-google-signin

## Installation ```bash yarn add @onepark/react-native-component-google-signin ```

Usage no npm install needed!

<script type="module">
  import oneparkReactNativeComponentGoogleSignin from 'https://cdn.skypack.dev/@onepark/react-native-component-google-signin';
</script>

README

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