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

## Installation ```bash yarn add @bam.tech/react-native-component-google-signin ```

Usage no npm install needed!

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

README

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.