Post Link : https://www.skptricks.com/2018/08/setting-border-color-of-textinput-component.html
This tutorial explains how to change border color of TextInput Component in react native application. In this demo we have added few style-sheet design property to TextInput layout component, that helps to change border color of text input field.
Here we have specified borderWidth, borderColor property of CSS Stylesheet in TextInput Component.
Code Snippet to change border color of TextInput layout :
style=
// Adding hint in TextInput using Placeholder option.
placeholder="Enter Your First Name"
// Making the Under line Transparent.
underlineColorAndroid="transparent"
/>
Top comments (0)