@@ -18,7 +18,7 @@ Another difference between Text and other components is that Text children are n
1818``` javascript
1919// Alternate text to display if the image cannot be loaded
2020// or by screen readers
21- accessibilityHidden : boolean = false ;
21+ accessibilityLabel : string = undefined ;
2222
2323// Hide the component from screen readers?
2424accessibilityHidden: boolean = false ;
@@ -29,12 +29,17 @@ accessibilityTraits: AccessibilityTrait | AccessibilityTrait[] = undefined;
2929// Region for accessibility mechanisms
3030accessibilityLiveRegion?: AccessibilityLiveRegion = undefined ; // Android and web only
3131
32- // Keyboard tab order
33- tabIndex: number = undefined ;
34-
3532// Should fonts be scaled according to system setting?
3633allowFontScaling: boolean = true ; // Android and iOS only
3734
35+ // Should the scale multiplier be capped when allowFontScaling is set to true?
36+ // Possible values include the following:
37+ // null/undefined (default) - inheret from parent/global default
38+ // 0 - no max
39+ // >= 1 - sets the maxContentSizeMultiplier of this node to this value
40+ // Note: Older versions of React Native don’t support this interface.
41+ maxContentSizeMultiplier: number = null ; // Android and iOS only
42+
3843// For non-zero values, truncates with ellipsis if necessary
3944numberOfLines: number = 0 ;
4045
@@ -43,6 +48,9 @@ selectable: boolean = false;
4348
4449// See below for supported styles
4550style: TextStyleRuleSet | TextStyleRuleSet[] = [];
51+
52+ // Keyboard tab order
53+ tabIndex: number = undefined ;
4654```
4755
4856## Styles
0 commit comments