Skip to content

Commit 5004fa9

Browse files
authored
Merge pull request #199 from pansy-cx/fix/TouchableNativeFeedback
fix: undefined is not a function in android
2 parents 2efb25f + 735d33b commit 5004fa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default class Tab extends React.Component {
7272
testID={this.props.testID}
7373
accessible={this.props.accessible}
7474
accessibilityLabel={this.props.accessibilityLabel}
75-
background={TouchableNativeFeedback.Ripple(undefined, true)}
75+
background={TouchableNativeFeedback.Ripple && TouchableNativeFeedback.Ripple(undefined, true)}
7676
onPress={this._handlePress}>
7777
<View style={tabStyle}>
7878
<View>

0 commit comments

Comments
 (0)