2017-02-03 07:27:24 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-17 02:24:55 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2017-02-03 07:27:24 +00:00
|
|
|
*
|
2018-05-11 02:06:46 +00:00
|
|
|
* @format
|
2017-02-03 07:27:24 +00:00
|
|
|
* @flow
|
|
|
|
*/
|
2018-05-11 02:06:46 +00:00
|
|
|
|
2017-02-03 07:27:24 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
export type AccessibilityTrait =
|
2018-05-11 02:06:46 +00:00
|
|
|
| 'none'
|
|
|
|
| 'button'
|
|
|
|
| 'link'
|
|
|
|
| 'header'
|
|
|
|
| 'search'
|
|
|
|
| 'image'
|
|
|
|
| 'selected'
|
|
|
|
| 'plays'
|
|
|
|
| 'key'
|
|
|
|
| 'text'
|
|
|
|
| 'summary'
|
|
|
|
| 'disabled'
|
|
|
|
| 'frequentUpdates'
|
|
|
|
| 'startsMedia'
|
|
|
|
| 'adjustable'
|
|
|
|
| 'allowsDirectInteraction'
|
|
|
|
| 'pageTurn';
|
2017-02-03 07:27:24 +00:00
|
|
|
|
|
|
|
export type AccessibilityComponentType =
|
2018-05-11 02:06:46 +00:00
|
|
|
| 'none'
|
|
|
|
| 'button'
|
|
|
|
| 'radiobutton_checked'
|
|
|
|
| 'radiobutton_unchecked';
|
2017-02-03 07:27:24 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
AccessibilityTraits: [
|
|
|
|
'none',
|
|
|
|
'button',
|
|
|
|
'link',
|
|
|
|
'header',
|
|
|
|
'search',
|
|
|
|
'image',
|
|
|
|
'selected',
|
|
|
|
'plays',
|
|
|
|
'key',
|
|
|
|
'text',
|
|
|
|
'summary',
|
|
|
|
'disabled',
|
|
|
|
'frequentUpdates',
|
|
|
|
'startsMedia',
|
|
|
|
'adjustable',
|
|
|
|
'allowsDirectInteraction',
|
|
|
|
'pageTurn',
|
|
|
|
],
|
|
|
|
AccessibilityComponentTypes: [
|
|
|
|
'none',
|
|
|
|
'button',
|
|
|
|
'radiobutton_checked',
|
|
|
|
'radiobutton_unchecked',
|
|
|
|
],
|
|
|
|
};
|