react-native-social-buttons
v1.4.2
Published
Declarative social button components for React Native.
Downloads
1,209
Readme
React Native Social Buttons
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:
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={...}