Skip to content

rnsb-community/react-native-social-buttons

Repository files navigation

React Native Social Buttons

Expo Snack - Try Now

Installation

yarn add react-native-social-buttons

or

npm install react-native-social-buttons

Try It Live

Explore our buttons in action with a live example on Expo Snack:

Expo Snack - Try Now

Click the badge above to open the project in Expo Snack, where you can view and interact with the components directly in your browser or on your device.

Basic Usage

import React from "react";
import { View } from "react-native";
import { FacebookSocialButton } from "react-native-social-buttons";

export default class App extends React.Component {
  render() {
    return (
      <View>
        <FacebookSocialButton onPress={() => {}} buttonViewStyle={...} logoStyle={...} textStyle={...} />
      </View>
    );
  }
}

You can customize the buttons using buttonViewStyle={...}, logoStyle={...} and textStyle={...}