Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
erickcrus committed Apr 15, 2023
1 parent f076529 commit d5bc488
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"name": "react-native-recaptcha",
"displayName": "Fork from react-native-recaptcha-that-works",
"version": "1.2.0",
"name": "@erickcrus/react-native-recaptcha",
"version": "0.0.2",
"private": false,
"license": "MIT",
"description": "⚛ A reCAPTCHA bridge for React Native that works.",
"description": "⚛ A lightweight invisible recaptcha lib",
"repository": {
"type": "git",
"url": "https://github.com/douglasjunior/react-native-recaptcha-that-works.git"
"url": "https://github.com/erickcrus/react-native-recaptcha.git"
},
"main": "index.js",
"types": "index.d.ts",
Expand All @@ -25,7 +24,11 @@
"bugs": {
"url": "https://github.com/erickcrus/react-native-recaptcha/issues"
},
"homepage": "https://github.com/douglasjunior/react-native-recaptcha-that-works",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"homepage": "https://github.com/erickcrus/react-native-recaptcha",
"peerDependencies": {
"react": ">=16.9.0",
"react-native": ">=0.60.0",
Expand Down
3 changes: 2 additions & 1 deletion src/Recaptcha.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import React, {
useCallback,
useRef,
useImperativeHandle,
memo,
} from 'react';
import {
Modal,
Expand Down Expand Up @@ -217,4 +218,4 @@ Recaptcha.defaultProps = {
enterprise: false,
};

export default Recaptcha;
export default memo(Recaptcha);

0 comments on commit d5bc488

Please sign in to comment.