mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
added in the three roles: search, adjustable, link that require localization
Summary: Added in props for three more roles: link, search, and adjustable Reviewed By: blavalla Differential Revision: D8788186 fbshipit-source-id: acd1d667a43bea753964d128bd4525ece90d06b3
This commit is contained in:
committed by
Facebook Github Bot
parent
6ed6bffe4e
commit
d0b86ecb4f
@@ -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',
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user