React Native Change TextInput PlaceHolder Text Color iOS Android

In our previous tutorial we have discussed about showing Place Holder text inside TextInput, Now this tutorial is the extend part of Place Holder tutorial. PlaceHolder Text Color can be modified using placeholderTextColor = “” prop, This prop would allow us to set Change TextInput PlaceHolder Text Color for both Android and iOS react native applications.

Contents in this project Set Change TextInput PlaceHolder Text Color iOS Android React Native App:

1. Import StyleSheet, View and TextInput component in your project.

2. Creating a Root View in render’s return block, This view is our main view.

3. Creating a TextInput component in your Root View.

placeholder : Used to set Place Holder.

placeholderTextColor : Used to set Place Holder Text Color style.

4. Creating Style.

5. Complete source code for App.js File :

Screenshot in Android device:

Change TextInput PlaceHolder Text Color

Screenshot in iOS device: