Skip to content

Commit

Permalink
Merge pull request #16 from rnsb-community/chore/update-project-image
Browse files Browse the repository at this point in the history
Chore/update project image
  • Loading branch information
angelxmoreno authored Apr 20, 2024
2 parents 98de07a + 3cf260f commit fcfe9a0
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .coderabbit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ reviews:
- "DO NOT MERGE"
drafts: false
chat:
auto_reply: true
auto_reply: true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
![](https://img.shields.io/github/contributors/virtumonde/react-native-social-buttons)
[![Expo Snack - Try Now](https://img.shields.io/badge/Expo%20Snack-Try%20Now-blue?style=flat&logo=expo)](https://snack.expo.dev/@angelxmoreno/react-native-social-buttons-example)

<p>
<img src="https:/virtumonde/react-native-social-buttons/blob/master/react-native-social-buttons-preview.png?raw=true" />
<p align="center">
<img src="/assets/with-snapchat.png" />
</p>

## Installation
Expand Down
File renamed without changes
Binary file added assets/with-snapchat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-social-buttons",
"version": "1.4.1",
"version": "1.4.2",
"main": "src/index.js",
"types": "types/index.d.ts",
"license": "MIT",
Expand Down
5 changes: 5 additions & 0 deletions snack-example/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
InstagramSocialButton,
LinkedInSocialButton,
MicrosoftSocialButton,
SnapchatSocialButton,
TwitterSocialButton,
} from "react-native-social-buttons";

Expand All @@ -16,6 +17,10 @@ export default function App() {

return (
<View style={styles.container}>
<SnapchatSocialButton
onPress={handlePressed("Snapchat")}
buttonText={"Sign in with Snapchat"}
/>
<AmazonSocialButton onPress={handlePressed("Amazon")} />
<AppleSocialButton onPress={handlePressed("Apple")} />
<FacebookSocialButton onPress={handlePressed("Facebook")} />
Expand Down
2 changes: 1 addition & 1 deletion snack-example/packages.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dependencies": {
"react-native-social-buttons": "*"
"react-native-social-buttons": "^1.4.0"
}
}
2 changes: 1 addition & 1 deletion src/buttons/SnapchatSocialButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const SnapchatSocialButton = (props) => {
style={{ ...styles.imageIconStyle, ...props.logoStyle }}
/>
<Text style={{ ...styles.textStyle, ...props.textStyle }}>
{props.buttonText ? props.buttonText : "Log in with Snapchat"}
{props.buttonText ? props.buttonText : "Sign in with Snapchat"}
</Text>
</TouchableOpacity>
);
Expand Down

0 comments on commit fcfe9a0

Please sign in to comment.