mirror of
https://github.com/status-im/react-native.git
synced 2025-02-10 08:26:23 +00:00
Fix VoiceOver not identifying the header correctly
Reviewed By: sophiebits Differential Revision: D7678644 fbshipit-source-id: ee6c57f2a603eed1c41f22a4142474ab6957ccdf
This commit is contained in:
parent
c5ca26a0e5
commit
654435d1ed
@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
import type {AccessibilityTrait} from 'ViewAccessibility';
|
||||||
|
|
||||||
import type {Node} from 'react';
|
import type {Node} from 'react';
|
||||||
|
|
||||||
import type {LayoutEvent, PressEvent} from 'CoreEventTypes';
|
import type {LayoutEvent, PressEvent} from 'CoreEventTypes';
|
||||||
@ -28,6 +30,7 @@ type PressRetentionOffset = {
|
|||||||
*/
|
*/
|
||||||
export type TextProps = $ReadOnly<{
|
export type TextProps = $ReadOnly<{
|
||||||
accessible?: ?boolean,
|
accessible?: ?boolean,
|
||||||
|
accessibilityTraits?: AccessibilityTrait | Array<AccessibilityTrait>,
|
||||||
allowFontScaling?: ?boolean,
|
allowFontScaling?: ?boolean,
|
||||||
children?: Node,
|
children?: Node,
|
||||||
ellipsizeMode?: 'clip' | 'head' | 'middle' | 'tail',
|
ellipsizeMode?: 'clip' | 'head' | 'middle' | 'tail',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user