1.4.2 • Published 8 months ago

react-native-social-buttons v1.4.2

Weekly downloads
231
License
MIT
Repository
github
Last release
8 months ago

React Native Social Buttons

npm.io npm.io npm.io 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={...}