Skip to content

Commit

Permalink
added in the three roles: search, adjustable, link that require local…
Browse files Browse the repository at this point in the history
…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
Ziqi Chen authored and facebook-github-bot committed Jul 13, 2018
1 parent 6ed6bff commit d0b86ec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Libraries/Components/View/ViewAccessibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ export type AccessibilityComponentType =
export type AccessibilityRole =
| 'none'
| 'button'
| 'link'
| 'search'
| 'image'
| 'keyboardkey'
| 'text';
| 'text'
| 'adjustable';

module.exports = {
AccessibilityTraits: [
Expand Down Expand Up @@ -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.