Reputation: 1988
I want to remove the underline style from my TextInput
component. I used the underlineColorAndroid
property, but it's not working.
Upvotes: 17
Views: 11910
Reputation: 799
underlineColorAndroid
is a prop of TextInput
, not a React Native style.
Here's an example of how to use it:
<TextInput underlineColorAndroid={'transparent'} value={this.state.text} />
Upvotes: 50