react-simple-captcha
Advanced tools
Comparing version 3.1.5 to 3.1.6
{ | ||
"name": "react-simple-captcha", | ||
"version": "3.1.5", | ||
"version": "3.1.6", | ||
"description": "A very simple and powerful captcha for ReactJS", | ||
@@ -5,0 +5,0 @@ "main": "react-simple-captcha.js", |
@@ -27,2 +27,3 @@ # React Simple Captcha | ||
<p>Import 'react-html-parser'</p> | ||
```sh | ||
@@ -50,3 +51,5 @@ import ReactHtmlParser from 'react-html-parser'; | ||
``` | ||
**OR** | ||
```sh | ||
@@ -62,2 +65,3 @@ render() { | ||
<p>Paste **loadcaptchaenginge(6)** *(You can change 6 to number of captcha charcters you want)* in **componentDidMount**</p> | ||
```sh | ||
@@ -70,2 +74,4 @@ componentDidMount () { | ||
<p>Validate captcha by using **validateCaptcha(user_captcha_value)** </p> | ||
```sh | ||
@@ -84,4 +90,7 @@ doSubmit = () => { | ||
``` | ||
**OR** | ||
<p>If you don't watch captcha to be reloaded if user enter the wrong value then set second parameter to *false* **validateCaptcha(user_captcha_value, false)** </p> | ||
```sh | ||
@@ -100,2 +109,3 @@ doSubmit = () => { | ||
``` | ||
@@ -102,0 +112,0 @@ ### Options |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9005
195