Answers for "how to add condition stylings in react native styles"

1

conditional style react native

<TextInput
    style={[styles.text, touched && invalid ? styles.textinvalid : styles.textvalid]}
</TextInput>
Posted by: Guest on February-14-2021

Code answers related to "how to add condition stylings in react native styles"

Code answers related to "Javascript"

Browse Popular Code Answers by Language