Skip to content

Instantly share code, notes, and snippets.

@vadiraja
Last active March 18, 2020 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vadiraja/84845c06fc6d6c83e184b35f8e477956 to your computer and use it in GitHub Desktop.
Save vadiraja/84845c06fc6d6c83e184b35f8e477956 to your computer and use it in GitHub Desktop.
Facebook Button with Auth Sign In call
<View style={styles.containFbBg}>
<Button
onPress={() => Auth.federatedSignIn({provider: 'Facebook'})}
iconRight
style={styles.fbButton}
>
<FontAwesome name="facebook" size={28} color="#ffffff" />
<Text style={styles.fbButtonText}>Sign in with facebook</Text>
</Button>
</View>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment