1.2.0 • Published 7 years ago

viskan-deku-recaptcha v1.2.0

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

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.

License

MIT © Viskan Distanshandel System AB