0.3.0 • Published 6 years ago

varifycode v0.3.0

Weekly downloads
34
License
MIT
Repository
-
Last release
6 years ago

This project was bootstrapped with Create React App.

#varifycode

 npm install varifycode --save-dev

Usage

- context: PropTypes.string,  
    define verification-code's range, defalut:'abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPRSTUVWXYZ23456789'

- width: PropTypes.number,
- height: PropTypes.number,

- onChange: PropTypes.func.isRequired,
    make the parent get the generated code,
  ...
  <VarifyCode
    context={'abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPRSTUVWXYZ23456789'}   //生成验证码的范围
    width={100} height={30} 
    onChange={(code) => console.log(code)}                      //父级获得验证码
    />
0.3.0

6 years ago

0.2.9

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago