You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| textInputStyle | object | Yes | {} | style for text input. |
41
+
| testIDPrefix | string | Yes | 'otp*input*' | testID prefix, the result will be `otp_input_0` until inputCount |
42
+
| autoFocus | bool | Yes | false | Input should automatically get focus when the components loads |
42
43
43
44
#### Helper Functions
44
45
@@ -83,7 +84,7 @@ const ParentComponent = () => {
83
84
<View>
84
85
<OTPTextInput ref={e=> (otpInput = e)} >
85
86
<Button title="clear" onClick={clearText}>
86
-
</View> ̰
87
+
</View>
87
88
);
88
89
}
89
90
```
@@ -93,3 +94,4 @@ const ParentComponent = () => {
93
94
If you think I have helped you, feel free to get me coffee. 😊
94
95
95
96
<ahref="https://www.buymeacoffee.com/naveenvignesh"target="_blank"><imgsrc="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png"alt="Buy Me A Coffee"height="60" ></a>
0 commit comments