autoFocus |
bool |
false |
NO |
Whether to automatically get the focus by default |
verifyCodeLength |
number |
6 |
NO |
length of the verification code |
initialCodes |
array |
6 |
NO |
The default is empty, if set, it will be automatically populated |
containerStyle |
object |
null |
NO |
set container style |
containerPaddingVertical |
number |
0 |
NO |
container's paddingVertical |
containerPaddingLeft |
number |
0 |
NO |
set container paddingLeft |
containerPaddingRight |
number |
0 |
NO |
set container paddingRight |
containerPaddingHorizontal |
number |
Automatic calculation based on the length of the verification code |
NO |
container's paddingHorizontal |
containerPaddingLeft |
number |
0 |
NO |
set container paddingLeft |
containerPaddingRight |
number |
0 |
NO |
set container paddingRight |
containerBackgroundColor |
string |
#FDFFFD |
NO |
container's backgroundColor |
codeViewStyle |
object |
null |
NO |
set code view style |
codeViewWidth |
number |
Automatic calculation based on the length of the verification code |
NO |
width of code view |
codeViewBorderColor |
string |
grey |
NO |
color of code view border |
focusedCodeViewBorderColor |
string |
#1192F6 |
NO |
The color of the currently focused text box |
codeViewBorderWidth |
number |
1 |
NO |
width of code view border |
codeViewBorderRadius |
number |
5 |
NO |
radius of code view border |
codeViewBackgroundColor |
string |
default |
NO |
code view background color |
codeFontSize |
number |
default |
NO |
code font size |
codeColor |
string |
#222222 |
NO |
color of code |
secureTextEntry |
boolean |
false |
NO |
Set to true when entering a password,default is false |
coverStyle |
object |
null |
NO |
cover style |
coverRadius |
number |
codeFontSize / 2 |
NO |
cover radius |
coverColor |
string |
black |
NO |
cover color |
warningTitle |
string |
black |
NO |
When the input content is not a number, the title of the prompt box |
warningContent |
string |
black |
NO |
When the input content is not a number, the content of the prompt box |
warningButtonText |
string |
black |
NO |
When the input content is not a number, the button text of the prompt box |