Fix VoiceOver not identifying the header correctly

Reviewed By: sophiebits

Differential Revision: D7678644

fbshipit-source-id: ee6c57f2a603eed1c41f22a4142474ab6957ccdf
This commit is contained in:
Knott Wittawat 2018-04-19 13:13:10 -07:00 committed by Facebook Github Bot
parent c5ca26a0e5
commit 654435d1ed

View File

@ -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<AccessibilityTrait>,
allowFontScaling?: ?boolean,
children?: Node,
ellipsizeMode?: 'clip' | 'head' | 'middle' | 'tail',