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
This commit is contained in:
Ziqi Chen 2018-07-16 19:11:49 -07:00 committed by Facebook Github Bot
parent 3cfa7ae698
commit 5acb7211bb

View File

@ -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'],
};