简体   繁体   中英

How to remove underline from text input in react native from ios and android

I can't seem to be able to remove the underline in text input from react native on ios and android. There is a prop underlineColorAndroid and I tried to set it to transparent but that didn't work. I actually made my own border and the underline still is there. I am wondering how I can remove that. 在此处输入图片说明

Try to use.

underlineColorAndroid='rgba(0,0,0,0)'

This should remove the underline by making it transparent.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM