0.1.4 • Published 4 months ago
@wojtekmaj/react-recaptcha-v3 v0.1.4
@wojtekmaj/react-recaptcha-v3
Integrate Google reCAPTCHA v3 with your React app.
tl;dr
- Install by executing
npm install @wojtekmaj/react-recaptcha-v3
oryarn add @wojtekmaj/react-recaptcha-v3
. - Import by adding
import { ReCaptchaProvider, ReCaptcha } from '@wojtekmaj/react-recaptcha-v3'
. - Use by wrapping your app in
<ReCaptchaProvider reCaptchaKey="…">
, then using<ReCaptcha />
component. UseonVerify
prop to get the token.
User guide
The documentation is in the making. Refer to original project's documentation for now.
License
The MIT License.
Author
Thank you
This project wouldn't be possible without the awesome work of Duong Tran who created its original version. Thank you!