[fix] Prevent maxFontSizeMultiplier prop forwarding to DOM

Close #1313
This commit is contained in:
Janic Duplessis
2019-03-28 23:24:14 -04:00
committed by Nicolas Gallagher
parent 70e3ea8b57
commit 3eeda686b1
3 changed files with 4 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ const TextPropTypes = {
accessible: bool,
children: any,
importantForAccessibility: oneOf(['auto', 'no', 'no-hide-descendants', 'yes']),
maxFontSizeMultiplier: number,
nativeID: string,
numberOfLines: number,
onBlur: func,

View File

@@ -47,6 +47,7 @@ class Text extends Component<*> {
allowFontScaling,
ellipsizeMode,
lineBreakMode,
maxFontSizeMultiplier,
minimumFontScale,
onLayout,
onLongPress,

View File

@@ -95,6 +95,7 @@ class TextInput extends Component<*> {
'url',
'web-search'
]),
maxFontSizeMultiplier: number,
maxLength: number,
multiline: bool,
numberOfLines: number,
@@ -202,6 +203,7 @@ class TextInput extends Component<*> {
inlineImagePadding,
inputAccessoryViewID,
keyboardAppearance,
maxFontSizeMultiplier,
needsOffscreenAlphaCompositing,
onAccessibilityTap,
onContentSizeChange,