mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 10:14:49 +00:00
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:
parent
3cfa7ae698
commit
5acb7211bb
@ -48,7 +48,9 @@ export type AccessibilityRole =
|
|||||||
| 'keyboardkey'
|
| 'keyboardkey'
|
||||||
| 'text'
|
| 'text'
|
||||||
| 'adjustable'
|
| 'adjustable'
|
||||||
| 'imagebutton';
|
| 'imagebutton'
|
||||||
|
| 'header'
|
||||||
|
| 'summary';
|
||||||
|
|
||||||
export type CurrentViewState = 'selected' | 'disabled';
|
export type CurrentViewState = 'selected' | 'disabled';
|
||||||
|
|
||||||
@ -92,6 +94,8 @@ module.exports = {
|
|||||||
'text',
|
'text',
|
||||||
'adjustable',
|
'adjustable',
|
||||||
'imagebutton',
|
'imagebutton',
|
||||||
|
'header',
|
||||||
|
'summary',
|
||||||
],
|
],
|
||||||
CurrentViewStates: ['selected', 'disabled'],
|
CurrentViewStates: ['selected', 'disabled'],
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user