From a3a98eb1c7fa0054a236d45421393874ce8ce558 Mon Sep 17 00:00:00 2001 From: Mika Andrianarijaona Date: Wed, 25 Apr 2018 23:27:48 -0700 Subject: [PATCH] BREAKING - default underlineColorAndroid to transparent Summary: Set default `underlineColorAndroid` to `transparent`. Fixes #18938 Use a TextInput in a component without defining `underlineColorAndroid`, the underline color should be transparent. [ANDROID] [BREAKING] [TextInput] - set default underlineColorAndroid to transparent Closes https://github.com/facebook/react-native/pull/18988 Reviewed By: mdvacca Differential Revision: D7765569 Pulled By: yungsters fbshipit-source-id: f7ad57a46fc0d18b47271ca39faae8c635995fbb --- Libraries/Components/TextInput/TextInput.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index e887b07438f412..f0cf5b955e9612 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -637,6 +637,7 @@ const TextInput = createReactClass({ getDefaultProps(): Object { return { allowFontScaling: true, + underlineColorAndroid: 'transparent', }; }, /**