Permalink
Browse files

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

…ization

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

Reviewed By: blavalla

Differential Revision: D8788186

fbshipit-source-id: acd1d667a43bea753964d128bd4525ece90d06b3
  • Loading branch information...
ziqichen6 authored and facebook-github-bot committed Jul 13, 2018
1 parent 6ed6bff commit d0b86ecb4f33d6b10a99062f050a4d659db4ddfc
Showing with 7 additions and 1 deletion.
  1. +7 −1 Libraries/Components/View/ViewAccessibility.js
@@ -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',
],
};

0 comments on commit d0b86ec

Please sign in to comment.