[add] accessibilityRole 'label' to Text

This commit is contained in:
Nicolas Gallagher
2017-09-15 11:02:24 -07:00
parent 0ad6ab948b
commit 6fe796f9da

View File

@@ -17,7 +17,7 @@ import { any, bool, func, number, oneOf } from 'prop-types';
const TextPropTypes = {
...BaseComponentPropTypes,
accessibilityRole: oneOf(['button', 'heading', 'link', 'listitem']),
accessibilityRole: oneOf(['button', 'heading', 'label', 'link', 'listitem']),
children: any,
numberOfLines: number,
onLayout: func,