mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-01-12 22:51:09 +08:00
@@ -12,7 +12,7 @@ class Text extends Component {
|
||||
|
||||
static propTypes = {
|
||||
...BaseComponentPropTypes,
|
||||
accessibilityRole: PropTypes.oneOf([ 'heading', 'link' ]),
|
||||
accessibilityRole: PropTypes.oneOf([ 'button', 'heading', 'link', 'listitem' ]),
|
||||
children: PropTypes.any,
|
||||
numberOfLines: PropTypes.number,
|
||||
onLayout: PropTypes.func,
|
||||
|
||||
Reference in New Issue
Block a user