diff --git a/Libraries/Text/TextProps.js b/Libraries/Text/TextProps.js index 20eb363765e215..effc8b05480b92 100644 --- a/Libraries/Text/TextProps.js +++ b/Libraries/Text/TextProps.js @@ -11,6 +11,8 @@ 'use strict'; +import type {AccessibilityTrait} from 'ViewAccessibility'; + import type {Node} from 'react'; import type {LayoutEvent, PressEvent} from 'CoreEventTypes'; @@ -28,6 +30,7 @@ type PressRetentionOffset = { */ export type TextProps = $ReadOnly<{ accessible?: ?boolean, + accessibilityTraits?: AccessibilityTrait | Array, allowFontScaling?: ?boolean, children?: Node, ellipsizeMode?: 'clip' | 'head' | 'middle' | 'tail',