Last Updated on March 17, 2019.
We use TextInput component in almost all React Native applications. Because of that, we usually try to customize or stylize textinput at maximum extent. In this blog post, I will tell you how to change the color of the hint text in TextInput.
All you need is to placeholderTextColor
import { TextInput } from 'react-native';
render()
{
return(
<View>
<TextInput
placeholder = "username"
placeholderTextColor = "red"
underlineColorAndroid='transparent'
/>
</View>
)
}