evenchange4 / react-grecaptcha

React.js Google reCAPTCHA v2 integration component.
https://react-grecaptcha.netlify.com
MIT License
51 stars 8 forks source link

Support for invisible recaptcha #56

Closed cyberhck closed 6 years ago

evenchange4 commented 7 years ago

Hi @cyberhck, does this help?

<Recaptcha
  sitekey="..."
  invisible
/>
window.grecaptcha.execute();
evenchange4 commented 6 years ago

I have added a demo here: https://react-grecaptcha.netlify.com/?selectedKind=Recaptcha&selectedStory=Invisible%20reCAPTCHA&full=0&down=1&left=1&panelRight=0&downPanel=storybook%2Factions%2Factions-panel

Close it. Please feel free to reopen this issue if there are any problems.