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