パッケージの詳細

@wojtekmaj/react-recaptcha-v3

wojtekmaj8.3kMIT0.1.4

Integrate Google reCAPTCHA v3 with your React app

captcha, google, react, recaptcha-v3

readme

@wojtekmaj/react-recaptcha-v3

Integrate Google reCAPTCHA v3 with your React app.

tl;dr

  • Install by executing npm install @wojtekmaj/react-recaptcha-v3 or yarn 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. Use onVerify 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

Wojciech Maj Wojciech Maj

Thank you

This project wouldn't be possible without the awesome work of Duong Tran who created its original version. Thank you!