Skip to content

Commit 3a0f139

Browse files
author
Paul
committed
document stoken property
1 parent 50ae775 commit 3a0f139

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Other properties can be used to customised the rendering.
5656
| type | enum | *optional* `image` or `audio` The type of initial captcha *(__defaults:__ image)*
5757
| tabindex | number | *optional* The tabindex on the element *(__default:__ 0)*
5858
| onExpired | func | *optional* callback when the challenge is expired and has to be redone by user. By default it will call the onChange with null to signify expired callback. |
59+
| stoken | string | *optional* set the stoken parameter, which allows the captcha to be used from different domains, see [reCAPTCHA secure-token] |
5960

6061
## Component API
6162

@@ -104,3 +105,4 @@ render(
104105
[docs]: https://developers.google.com/recaptcha
105106
[js_api]: https://developers.google.com/recaptcha/docs/display#js_api
106107
[rb]: https://github.com/react-bootstrap/react-bootstrap/
108+
[reCAPTCHA secure-token]: https://developers.google.com/recaptcha/docs/secure_token

0 commit comments

Comments
 (0)