Created
July 18, 2020 14:18
-
-
Save tetrashine/303ee6a4eaf886a42c31e89cccee6bc1 to your computer and use it in GitHub Desktop.
react-recaptcha
This file contains 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"; | |
function onChange(value) { | |
console.log("Captcha value:", value); | |
} | |
ReactDOM.render( | |
<ReCAPTCHA | |
sitekey="Your client site key" | |
onChange={onChange} | |
/>, | |
document.body | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment