Skip to content

Commit

Permalink
Add screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasjunior committed Jul 3, 2020
1 parent b5d6c0e commit 1e38ce3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

A reCAPTCHA library for React Native (Android and iOS) that works.

| Normal | Invisible |
| - | - |
| <img src='https://raw.githubusercontent.com/douglasjunior/react-native-recaptcha-that-works/master/screenshots/normal.gif' width='240' /> | <img src='https://raw.githubusercontent.com/douglasjunior/react-native-recaptcha-that-works/master/screenshots/invisible.gif' width='240' /> |

## Install

### Install the module
Expand Down Expand Up @@ -60,6 +64,8 @@ class App extends Component {
}
```

For more details, see the [Sample Project](https://github.com/douglasjunior/react-native-recaptcha-that-works/blob/master/Sample/src/App.js).

## Props

|Name|Value|Default|Description|
Expand Down
4 changes: 2 additions & 2 deletions Sample/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ const App = () => {
<View
contentInsetAdjustmentBehavior="automatic"
style={styles.container}>
<Button onPress={handleOpenPress} title="Abrir Recaptcha" />
<Button onPress={handleOpenPress} title="Open" />
<Text>Token: {key}</Text>
<Text>Size: {size}</Text>
</View>

<Recaptcha
ref={$recaptcha}
lang="en"
headerComponent={<Button title="Fechar" onPress={handleClosePress} />}
headerComponent={<Button title="Close" onPress={handleClosePress} />}
siteKey="6LejsqwZAAAAAGsmSDWH5g09dOyNoGMcanBllKPF"
baseUrl="http://127.0.0.1"
size={size}
Expand Down
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-recaptcha-that-works",
"version": "0.0.2",
"version": "0.0.3",
"private": false,
"description": "⚛ A reCAPTCHA bridge for React Native that works.",
"repository": {
Expand Down
Binary file added screenshots/invisible.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/normal.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1e38ce3

Please sign in to comment.