2.4.0 • Published 4 months ago

nice-simple-captcha v2.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

nice-simple-captcha

Simple Captcha

NPM JavaScript Style Guide

Install

npm install --save nice-simple-captcha

Online Demo

Visit this link: https://simacoders.ir/features/#NiceSimpleCaptcha

Usage

import {NiceSimpleCaptcha} from 'nice-simple-captcha'
import 'nice-simple-captcha/dist/index.css'

function Example() {
  return (
    <NiceSimpleCaptcha
      className={''}
      inputClassName={''}
      screenColor='white'
      screenBorderColor='black'
      captchaColor='black'
      characters={'ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789'}
      length={5}
      crossLine={true}
      expireAfterSec={60}
      style={{width: '200px'}}
      refreshButtonIcon = {null}
      onCaptchaValidate={(passed, messageCode) => captchaValidate(passed, messageCode)}
      onEnterPressed={() => onEnterPressed()}
    />
  )
}

General properties

import { CAPTCHA_OK, CAPTCHA_LOAD_ERROR, CAPTCHA_EMPTY_ERROR, CAPTCHA_MISMATCH_ERROR, CAPTCHA_EXPIRED } from 'nice-simple-captcha';

License

MIT © mortezadvlp

2.3.0

4 months ago

2.4.0

4 months ago

2.2.0

5 months ago

2.1.1

5 months ago

2.1.12

5 months ago

2.1.0

5 months ago

2.0.0

5 months ago

1.2.0

5 months ago

1.1.0

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago