We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 46a9cf9 + b93cec4 commit dffd4d3Copy full SHA for dffd4d3
Button.js
@@ -27,6 +27,7 @@ const Button = React.createClass({
27
PropTypes.element
28
]),
29
activeOpacity: PropTypes.number,
30
+ accessibilityLabel: PropTypes.string,
31
allowFontScaling: PropTypes.bool,
32
isLoading: PropTypes.bool,
33
isDisabled: PropTypes.bool,
@@ -96,6 +97,7 @@ const Button = React.createClass({
96
97
} else {
98
// Extract Touchable props
99
let touchableProps = {
100
+ accessibilityLabel: this.props.accessibilityLabel,
101
onPress: this.props.onPress,
102
onPressIn: this.props.onPressIn,
103
onPressOut: this.props.onPressOut,
0 commit comments