Textfield underline color #1826
-
Hi. I'm new at using UI libraries in RN, so sorry me if this is a stupid question. I tried to modify: I couldnt find it on docs, can anyone one help me? :C |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @gabrielporcher The right way to set the underlineColor is to use the The current default style comes from the |
Beta Was this translation helpful? Give feedback.
-
Thank you @ethanshar 😃 |
Beta Was this translation helpful? Give feedback.
Hi @gabrielporcher
That's actually a bug.
I pushed a PR with a fix (#1836)
The right way to set the underlineColor is to use the
fieldStyle
prop.The current default style comes from the
preset
prop and you couldn't override it (that's the bug)Till this is fixed, you can override the
preset
and passnull
, this will get you clean TextField you can customize as you wish.Then you'll just need to pass the
fieldStyle
with the desired style.