diff --git a/Libraries/Components/TextInput/AndroidTextInputViewConfig.js b/Libraries/Components/TextInput/AndroidTextInputViewConfig.js index bb36f91ffbf..e659a3de64e 100644 --- a/Libraries/Components/TextInput/AndroidTextInputViewConfig.js +++ b/Libraries/Components/TextInput/AndroidTextInputViewConfig.js @@ -8,7 +8,6 @@ * @format */ -import ReactNativeViewViewConfig from '../../Components/View/ReactNativeViewViewConfig'; import type {PartialViewConfig} from 'react-native/Libraries/Renderer/shims/ReactNativeTypes'; const AndroidTextInputViewConfig = { @@ -53,8 +52,6 @@ const AndroidTextInputViewConfig = { }, directEventTypes: {}, validAttributes: { - ...ReactNativeViewViewConfig.validAttributes, - maxFontSizeMultiplier: true, adjustsFontSizeToFit: true, minimumFontScale: true, diff --git a/Libraries/Components/TextInput/RCTTextInputViewConfig.js b/Libraries/Components/TextInput/RCTTextInputViewConfig.js index ecd4868759c..ef910892b23 100644 --- a/Libraries/Components/TextInput/RCTTextInputViewConfig.js +++ b/Libraries/Components/TextInput/RCTTextInputViewConfig.js @@ -9,7 +9,6 @@ */ import type {PartialViewConfig} from '../../Renderer/shims/ReactNativeTypes'; -import ReactNativeViewViewConfig from '../../Components/View/ReactNativeViewViewConfig'; const RCTTextInputViewConfig = { uiViewClassName: 'RCTSinglelineTextInputView', @@ -72,7 +71,6 @@ const RCTTextInputViewConfig = { }, directEventTypes: {}, validAttributes: { - ...ReactNativeViewViewConfig.validAttributes, fontSize: true, fontWeight: true, fontVariant: true,