react-native-otp-textinput icon indicating copy to clipboard operation
react-native-otp-textinput copied to clipboard

Incorrect type for textInputStyle

Open bravesoul349 opened this issue 1 year ago • 1 comments

Typescript complains if I try to set color value on textInputStye prop because ViewStyle type does not support color and the correct value should be StyleProp<TextStyle> as we are setting this prop on TextInput. Thank you.

bravesoul349 avatar Jan 24 '24 19:01 bravesoul349

Also this will solve my problem when adding multiple styles image

It works okay in the app, but TS is complaining.

Workaround: image

Maqsim avatar Sep 07 '24 01:09 Maqsim