File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,16 @@ yarn add react-native-otp-entry
6060 < OtpInput
6161 numberOfDigits= {6 }
6262 focusColor= " green"
63+ autoFocus= {false }
64+ hideStick= {true }
65+ placeholder= " ******"
66+ blurOnFilled= {true }
67+ disabled= {false }
68+ type= " numeric"
69+ secureTextEntry= {false }
6370 focusStickBlinkingDuration= {500 }
71+ onFocus= {() => console .log (" Focused" )}
72+ onBlur= {() => console .log (" Blurred" )}
6473 onTextChange= {(text ) => console .log (text)}
6574 onFilled= {(text ) => console .log (` OTP is ${ text} ` )}
6675 textInputProps= {{
@@ -72,6 +81,9 @@ yarn add react-native-otp-entry
7281 pinCodeTextStyle: styles .pinCodeText ,
7382 focusStickStyle: styles .focusStick ,
7483 focusedPinCodeContainerStyle: styles .activePinCodeContainer ,
84+ placeholderTextStyle: styles .placeholderText ,
85+ filledPinCodeContainerStyle: styles .filledPinCodeContainer ,
86+ disabledPinCodeContainerStyle: styles .disabledPinCodeContainer ,
7587 }}
7688 / >
7789 ```
You can’t perform that action at this time.
0 commit comments