1.1.0 • Published 5 years ago

recaptcha-hook v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

recaptcha-hook Language

recaptcha-hook is a JavaScript library that lets you easily integrate google recaptcha. recaptcha-hook uses react hook to create recaptcha component.

Installation

Using npm:

$ npm install --save recaptcha-hook

Get reCAPTCHA sitekey

Go to reCAPTCHA and click on Admin console and configure your requirements. After saving all information you will get sitekey and secret key. Copy the site key and use in the recaptcha-hook component.

// using ES6
import ReCaptcha from 'recaptcha-hook';

<ReCaptcha
        elementID={'je'}
        siteKey={'xxxxxxxx'}
        verifyCallback={verifyCallback}
        onloadCallback={() => console.log('loaded')}
          />
1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago