Skip to content

Commit cf7078b

Browse files
committed
Merge pull request dozoisch#6 from johanneshilden/master
Change ReCATPCHA to ReCAPTCHA in example :octocat:
2 parents 5610c60 + b407a07 commit cf7078b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ You can then use the reCAPTCHA. The default require, imports a wrapped component
2121

2222
```jsx
2323
var React = require("react");
24-
var ReCATPCHA = require("react-google-recaptcha");
24+
var ReCAPTCHA = require("react-google-recaptcha");
2525

2626
function onChange(value) {
2727
console.log("Captcha value:", value);
2828
}
2929

3030
React.render(
31-
<ReCATPCHA
32-
refs="recaptcha"
31+
<ReCAPTCHA
32+
ref="recaptcha"
3333
sitekey="Your client site key"
3434
onChange={onChange}
3535
/>, document.body);
@@ -61,7 +61,7 @@ You can also use the barebone components doing the following. Using that compone
6161

6262
```jsx
6363
var React = require("react");
64-
var ReCATPCHA = require("react-google-recaptcha/lib/recaptcha");
64+
var ReCAPTCHA = require("react-google-recaptcha/lib/recaptcha");
6565

6666
var grecaptchaObject = grecaptcha // You must provide access to the google grecaptcha object.
6767

@@ -70,8 +70,8 @@ function onChange(value) {
7070
}
7171

7272
React.render(
73-
<ReCATPCHA
74-
refs="recaptcha"
73+
<ReCAPTCHA
74+
ref="recaptcha"
7575
sitekey="Your client site key"
7676
onChange={onChange}
7777
grecaptcha={grecaptchaObject}

0 commit comments

Comments
 (0)