You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+51-2
Original file line number
Diff line number
Diff line change
@@ -98,9 +98,58 @@ For having a visible ReCaptcha, you should make two minor changes on the above-m
98
98
1. Replace the size prop value `invisible` (see the imported ReCaptcha component) with either `normal` or `compact`. Those will add a checkbox with 'I am not a robot' label.
99
99
2. Remove `this.[captchaRef].execute()` lines from your code.
100
100
101
-
102
-
103
101
##### Optional props
104
102
105
103
*`data-theme` - you can add `theme` prop with a value of either `"dark"` or `"light"`(default) to control the background theme of the visible ReCaptcha (when size is `normal` or `compact`)
106
104
*`data-badge` - you can send `badge` prop with one of the following values: bottomright (default), bottomleft, inline. This will allowyou to reposition the ReCaptcha badge.
105
+
106
+
### 3. Save Google response into state or inside a hidden field
0 commit comments