We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dae2f6 commit 749b457Copy full SHA for 749b457
README.md
@@ -34,7 +34,8 @@ import Vcode from 'react-vcode';
34
35
````bash
36
id # string 一个ID 可手动设置也可以不管,默认值:时间戳+随机数
37
-length: 4 # number 生成几位验证码
+value # string 受控,可指定要生成的验证码,而不是随机生成
38
+length: 4 # number 生成几位验证码
39
width: 150 # number 容器宽度
40
height: 40 # number 容器高度
41
className # string 自定义样式class, 默认值:无
0 commit comments