|
|
|
@ -187,14 +187,14 @@ function Otp(props) { |
|
|
|
|
tw("bg-gray-100 py-3 px-5 text-center rounded-md mx-1.5"), |
|
|
|
|
{ |
|
|
|
|
fontSize: fontSize.xl5, |
|
|
|
|
fontFamily: "demi", |
|
|
|
|
fontFamily: "bold", |
|
|
|
|
color: Colors.theme1[props.theme].green79, |
|
|
|
|
width: fontSize.xl5 + 40, |
|
|
|
|
}, |
|
|
|
|
]} |
|
|
|
|
underlineColorAndroid={"transparent"} |
|
|
|
|
value={firstCode} |
|
|
|
|
maxLength={2} |
|
|
|
|
maxLength={1} |
|
|
|
|
ref={(ref) => (ref1 = ref)} |
|
|
|
|
onChangeText={(text) => onChangeCode(text, "1")} |
|
|
|
|
regex={onInput.numberOnly} |
|
|
|
@ -206,14 +206,14 @@ function Otp(props) { |
|
|
|
|
tw("bg-gray-100 py-3 px-5 text-center rounded-md mx-1.5"), |
|
|
|
|
{ |
|
|
|
|
fontSize: fontSize.xl5, |
|
|
|
|
fontFamily: "demi", |
|
|
|
|
fontFamily: "bold", |
|
|
|
|
color: Colors.theme1[props.theme].green79, |
|
|
|
|
width: fontSize.xl5 + 40, |
|
|
|
|
}, |
|
|
|
|
]} |
|
|
|
|
underlineColorAndroid={"transparent"} |
|
|
|
|
value={secondCode} |
|
|
|
|
maxLength={2} |
|
|
|
|
maxLength={1} |
|
|
|
|
ref={(ref) => (ref2 = ref)} |
|
|
|
|
onChangeText={(text) => onChangeCode(text, "2")} |
|
|
|
|
regex={onInput.numberOnly} |
|
|
|
@ -232,7 +232,7 @@ function Otp(props) { |
|
|
|
|
]} |
|
|
|
|
underlineColorAndroid={"transparent"} |
|
|
|
|
value={thirdCode} |
|
|
|
|
maxLength={2} |
|
|
|
|
maxLength={1} |
|
|
|
|
ref={(ref) => (ref3 = ref)} |
|
|
|
|
onChangeText={(text) => onChangeCode(text, "3")} |
|
|
|
|
regex={onInput.numberOnly} |
|
|
|
@ -244,14 +244,14 @@ function Otp(props) { |
|
|
|
|
tw("bg-gray-100 py-3 px-5 text-center rounded-md mx-1.5"), |
|
|
|
|
{ |
|
|
|
|
fontSize: fontSize.xl5, |
|
|
|
|
fontFamily: "demi", |
|
|
|
|
fontFamily: "bold", |
|
|
|
|
color: Colors.theme1[props.theme].green79, |
|
|
|
|
width: fontSize.xl5 + 40, |
|
|
|
|
}, |
|
|
|
|
]} |
|
|
|
|
underlineColorAndroid={"transparent"} |
|
|
|
|
value={fourthCode} |
|
|
|
|
maxLength={2} |
|
|
|
|
maxLength={1} |
|
|
|
|
ref={(ref) => (ref4 = ref)} |
|
|
|
|
onChangeText={(text) => onChangeCode(text, "4")} |
|
|
|
|
regex={onInput.numberOnly} |
|
|
|
|