Skip to content

Commit e086c86

Browse files
enrique-moneyide
authored andcommitted
Update accessibility to use cross platform props accessibilityRole (#80)
* Update accessibility to use cross platform props accessibilityRole * Update Button.js
1 parent 5b17b32 commit e086c86

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Button.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ export default class Button extends Component {
5050
testID={this.props.testID}
5151
style={containerStyle}
5252
accessibilityLabel={this.props.accessibilityLabel}
53-
accessibilityTraits="button"
54-
accessibilityComponentType="button">
53+
accessibilityRole="button">
5554
{this._renderGroupedChildren()}
5655
</TouchableOpacity>
5756
);

0 commit comments

Comments
 (0)