Last active
December 9, 2018 15:06
-
-
Save pradumangoyal/41ffe4a316ec4553486d6d1aa3c07f20 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ReCAPTCHA from 'react-google-recaptcha' | |
const recaptchaRef = React.createRef() | |
<ReCAPTCHA | |
onChange={this.handleCaptcha} | |
ref={recaptchaRef} | |
//This ref can be used to call captcha related functions in case you need. | |
sitekey="PROVIDE-YOUR_SITE_KEY_HERE" | |
theme="dark" | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment