viskan-deku-recaptcha
v1.2.0
Published
Google reCAPTCHA component for Deku
Downloads
4
Readme
deku-recaptcha
Google reCAPTCHA component for Deku
Install
$ npm install --save viskan-deku-recaptcha
Usage
import Recaptcha from 'viskan-deku-recaptcha';
const render = () => (
<Recaptcha siteKey='XXXXXXXXXX' options={{...}}/>
);
export default {render};
Attributes
siteKey
Required
Type: string
Default: Google Test Key
API key provided by Google.
onSuccess
Type: function
Callback function for when user submits a successful response.
onExpire
Type: function
Callback function for when user submits a successful response expires.
options
Type: object
Google reCAPTCHA options, read more here.