Permalink
Browse files

added header and summary options for roles

Summary: Added options for summary and header on accessibilityRoles

Reviewed By: PeteTheHeat

Differential Revision: D8866086

fbshipit-source-id: 83bfca678d2308f809e8630b7158a2b4a740c13d
  • Loading branch information...
ziqichen6 authored and facebook-github-bot committed Jul 17, 2018
1 parent 3cfa7ae commit 5acb7211bb211e0ef48334630ddccbb3f0ffa2da
Showing with 5 additions and 1 deletion.
  1. +5 −1 Libraries/Components/View/ViewAccessibility.js
@@ -48,7 +48,9 @@ export type AccessibilityRole =
| 'keyboardkey'
| 'text'
| 'adjustable'
| 'imagebutton';
| 'imagebutton'
| 'header'
| 'summary';
export type CurrentViewState = 'selected' | 'disabled';
@@ -92,6 +94,8 @@ module.exports = {
'text',
'adjustable',
'imagebutton',
'header',
'summary',
],
CurrentViewStates: ['selected', 'disabled'],
};

0 comments on commit 5acb721

Please sign in to comment.