mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-31 17:53:50 +00:00
[change] Touchable no default 'accessibilityRole'
This commit is contained in:
@@ -31,7 +31,6 @@ var ensurePositiveDelayProps = require('./ensurePositiveDelayProps');
|
|||||||
type Event = Object;
|
type Event = Object;
|
||||||
|
|
||||||
var DEFAULT_PROPS = {
|
var DEFAULT_PROPS = {
|
||||||
accessibilityRole: 'button',
|
|
||||||
activeOpacity: 0.85,
|
activeOpacity: 0.85,
|
||||||
underlayColor: 'black'
|
underlayColor: 'black'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -65,7 +65,6 @@ var TouchableOpacity = React.createClass({
|
|||||||
|
|
||||||
getDefaultProps: function() {
|
getDefaultProps: function() {
|
||||||
return {
|
return {
|
||||||
accessibilityRole: 'button',
|
|
||||||
activeOpacity: 0.2,
|
activeOpacity: 0.2,
|
||||||
focusedOpacity: 0.7
|
focusedOpacity: 0.7
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user