mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Stop unnecessarily spreading ReactNativeViewViewConfig
Summary: There's no need to spread ReactNativeViewViewConfig props into ViewConfig partials ourselves. createViewConfig does this for us: https://www.internalfb.com/code/fbsource/[b319a947b3e5]/xplat/js/react-native-github/Libraries/NativeComponent/ViewConfig.js?lines=20-50 Changelog: [Internal] Reviewed By: yungsters Differential Revision: D32187833 fbshipit-source-id: 6d7ea3fc808ccfc98e067f8f52334f7b3417d7a7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d29a6a116e
commit
f1f88b02e8
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user