bskiefer / react-native-social-buttons

Declarative social button components for React Native.

Home Page:https://www.npmjs.com/package/react-native-social-buttons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Declarative social button components for React Native.

https://www.npmjs.com/package/react-native-social-buttons

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%