mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix SVC for AndroidTextInput
Summary:
## SVC != NVC Failure
```
LOG SVC AndroidTextInput Invalid
LOG {
"missing": {
"validAttributes": {
"borderBottomLeftRadius": true,
"borderBottomColor": {
"process": "[Function processColor]"
},
"borderRightColor": {
"process": "[Function processColor]"
},
"borderLeftColor": {
"process": "[Function processColor]"
},
"borderTopRightRadius": true,
"borderColor": {
"process": "[Function processColor]"
},
"borderBottomRightRadius": true,
"borderRadius": true,
"borderStyle": true,
"borderTopColor": {
"process": "[Function processColor]"
},
"borderTopLeftRadius": true
}
},
"unexpected": {
"validAttributes": {
"autoCompleteType": true
}
},
"unequal": []
}
```
Changelog: [Internal]
Reviewed By: mdvacca
Differential Revision: D33341773
fbshipit-source-id: a3c7f043d6b2ba0e2a4253739826e6f7f68e7ca5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
cb3321e3b0
commit
8487470476
@@ -635,7 +635,11 @@ let AndroidTextInputNativeComponent = NativeComponentRegistry.get<NativeProps>(
|
||||
},
|
||||
},
|
||||
},
|
||||
directEventTypes: {},
|
||||
directEventTypes: {
|
||||
topScroll: {
|
||||
registrationName: 'onScroll',
|
||||
},
|
||||
},
|
||||
validAttributes: {
|
||||
maxFontSizeMultiplier: true,
|
||||
adjustsFontSizeToFit: true,
|
||||
@@ -666,7 +670,6 @@ let AndroidTextInputNativeComponent = NativeComponentRegistry.get<NativeProps>(
|
||||
keyboardType: true,
|
||||
multiline: true,
|
||||
color: {process: require('../../StyleSheet/processColor')},
|
||||
autoCompleteType: true,
|
||||
autoComplete: true,
|
||||
numberOfLines: true,
|
||||
letterSpacing: true,
|
||||
@@ -694,6 +697,17 @@ let AndroidTextInputNativeComponent = NativeComponentRegistry.get<NativeProps>(
|
||||
inlineImageLeft: true,
|
||||
editable: true,
|
||||
fontVariant: true,
|
||||
borderBottomRightRadius: true,
|
||||
borderBottomColor: {process: require('../../StyleSheet/processColor')},
|
||||
borderRadius: true,
|
||||
borderRightColor: {process: require('../../StyleSheet/processColor')},
|
||||
borderColor: {process: require('../../StyleSheet/processColor')},
|
||||
borderTopRightRadius: true,
|
||||
borderStyle: true,
|
||||
borderBottomLeftRadius: true,
|
||||
borderLeftColor: {process: require('../../StyleSheet/processColor')},
|
||||
borderTopLeftRadius: true,
|
||||
borderTopColor: {process: require('../../StyleSheet/processColor')},
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user