react-captcha-refreshed
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

react-captcha-refreshed

Simple captcha library for React.

Shout out to...

Usage

API

The library consist of the hook useCaptchaValue and the component CaptchaCanvas.

Prop Description Default Required
captchaValue Value of the captcha text given by the useCaptchaValue hook Yes
backgroundColor Background color of the captcha canvas black No
textColor Color of the captcha text white No
decoyTextColor Color of the decoy text #afafaf No
decoyTextLength Length of the decoy text 4 No
width Width of the captcha canvas and resulted image 300 No
height Height of the captcha canvas and redulted image 100 No

Readme

Keywords

Package Sidebar

Install

npm i react-captcha-refreshed

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

26 kB

Total Files

39

Last publish

Collaborators

  • kaneru