Skip to content

Commit

Permalink
fix: TouchableNativeFeedback.Ripple is not a function in android
Browse files Browse the repository at this point in the history
  • Loading branch information
Virgil committed Mar 25, 2020
1 parent 2efb25f commit 735d33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class Tab extends React.Component {
testID={this.props.testID}
accessible={this.props.accessible}
accessibilityLabel={this.props.accessibilityLabel}
background={TouchableNativeFeedback.Ripple(undefined, true)}
background={TouchableNativeFeedback.Ripple && TouchableNativeFeedback.Ripple(undefined, true)}
onPress={this._handlePress}>
<View style={tabStyle}>
<View>
Expand Down

0 comments on commit 735d33b

Please sign in to comment.