/react-native-social-buttons

Declarative social button components for React Native.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

React Native Social Buttons

Installation

yarn add react-native-social-buttons

or

npm install react-native-social-buttons

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 costumize the buttons using buttonViewStyle={...}, logoStyle={...} and textStyle={...}