mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-28 08:34:31 +00:00
[add] accessibilityRole 'label' to Text
This commit is contained in:
@@ -17,7 +17,7 @@ import { any, bool, func, number, oneOf } from 'prop-types';
|
|||||||
|
|
||||||
const TextPropTypes = {
|
const TextPropTypes = {
|
||||||
...BaseComponentPropTypes,
|
...BaseComponentPropTypes,
|
||||||
accessibilityRole: oneOf(['button', 'heading', 'link', 'listitem']),
|
accessibilityRole: oneOf(['button', 'heading', 'label', 'link', 'listitem']),
|
||||||
children: any,
|
children: any,
|
||||||
numberOfLines: number,
|
numberOfLines: number,
|
||||||
onLayout: func,
|
onLayout: func,
|
||||||
|
|||||||
Reference in New Issue
Block a user