From 997f2064c8e72af73069dc4df7e1b5150bc2c6a9 Mon Sep 17 00:00:00 2001 From: Chaz Clark Date: Thu, 4 May 2017 14:46:00 -0400 Subject: [PATCH] Add response argument to verifyCallback handler This is provided by Recaptcha upon successful verification. --- types/react-recaptcha/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-recaptcha/index.d.ts b/types/react-recaptcha/index.d.ts index af6853efb3..873882c433 100644 --- a/types/react-recaptcha/index.d.ts +++ b/types/react-recaptcha/index.d.ts @@ -19,7 +19,7 @@ interface RecaptchaProps { tabindex?: string; theme?: "dark" | "light"; type?: string; - verifyCallback?(): any; + verifyCallback?(response:string): any; verifyCallbackName?: string; sitekey?: string; }