New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-necaptcha

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-necaptcha

A NECaptcha component for React

latest
Source
npmnpm
Version
3.0.3
Version published
Maintainers
1
Created
Source

react-necaptcha

A NECaptcha component for React

Installation

$ npm install react-necaptcha --save

Usage

import NECaptcha from 'react-necaptcha';

export default () => {
  const onLoad = instance => console.dir(instance);

  return (
    <NECaptcha
      captchaId="your-captchaId"
      onLoad={onLoad}
    />
  );
};

Properties

  className:    PropTypes.string,
  captchaId:    PropTypes.string.isRequired,
  mode:         PropTypes.string,
  protocol:     PropTypes.string,
  width:        PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
  lang:         PropTypes.string,
  appendTo:     PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
  onLoad:       PropTypes.func,
  onError:      PropTypes.func,
  onReady:      PropTypes.func,
  onVerify:     PropTypes.func,
  onClose:      PropTypes.func,

Read More

License

MIT

Keywords

react

FAQs

Package last updated on 28 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts