diff --git a/packages/react-native-web/src/exports/Text/TextPropTypes.js b/packages/react-native-web/src/exports/Text/TextPropTypes.js index 1b7dd0bc..30e12c53 100644 --- a/packages/react-native-web/src/exports/Text/TextPropTypes.js +++ b/packages/react-native-web/src/exports/Text/TextPropTypes.js @@ -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, diff --git a/packages/react-native-web/src/exports/Text/index.js b/packages/react-native-web/src/exports/Text/index.js index 802bee72..52398c1f 100644 --- a/packages/react-native-web/src/exports/Text/index.js +++ b/packages/react-native-web/src/exports/Text/index.js @@ -47,6 +47,7 @@ class Text extends Component<*> { allowFontScaling, ellipsizeMode, lineBreakMode, + maxFontSizeMultiplier, minimumFontScale, onLayout, onLongPress, diff --git a/packages/react-native-web/src/exports/TextInput/index.js b/packages/react-native-web/src/exports/TextInput/index.js index 1369b90c..13697f5a 100644 --- a/packages/react-native-web/src/exports/TextInput/index.js +++ b/packages/react-native-web/src/exports/TextInput/index.js @@ -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,