Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect type for textInputStyle #50

Open
bravesoul349 opened this issue Jan 24, 2024 · 1 comment
Open

Incorrect type for textInputStyle #50

bravesoul349 opened this issue Jan 24, 2024 · 1 comment

Comments

@bravesoul349
Copy link

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.

@Maqsim
Copy link

Maqsim commented Sep 7, 2024

Also this will solve my problem when adding multiple styles
image

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

Workaround:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants