added in the three roles: search, adjustable, link that require localization

Summary:
Added in props for three more roles:
link, search, and adjustable

Reviewed By: blavalla

Differential Revision: D8788186

fbshipit-source-id: acd1d667a43bea753964d128bd4525ece90d06b3
This commit is contained in:
Ziqi Chen
2018-07-12 23:35:56 -07:00
committed by Facebook Github Bot
parent 6ed6bffe4e
commit d0b86ecb4f

View File

@@ -42,9 +42,12 @@ export type AccessibilityComponentType =
export type AccessibilityRole =
| 'none'
| 'button'
| 'link'
| 'search'
| 'image'
| 'keyboardkey'
| 'text';
| 'text'
| 'adjustable';
module.exports = {
AccessibilityTraits: [
@@ -75,8 +78,11 @@ module.exports = {
AccessibilityRoles: [
'none',
'button',
'link',
'search',
'image',
'keyboardkey',
'text',
'adjustable',
],
};