Add response argument to verifyCallback handler

This is provided by Recaptcha upon successful verification.
This commit is contained in:
Chaz Clark
2017-05-04 14:46:00 -04:00
committed by GitHub
parent 58496e097b
commit 997f2064c8
+1 -1
View File
@@ -19,7 +19,7 @@ interface RecaptchaProps {
tabindex?: string;
theme?: "dark" | "light";
type?: string;
verifyCallback?(): any;
verifyCallback?(response:string): any;
verifyCallbackName?: string;
sitekey?: string;
}