From 735d33b24d33fc38a335cf43e457fabd6bb30fcf Mon Sep 17 00:00:00 2001 From: Virgil Date: Wed, 25 Mar 2020 15:53:28 +0800 Subject: [PATCH] fix: TouchableNativeFeedback.Ripple is not a function in android --- Tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tab.js b/Tab.js index 9ae5ba0..8565f42 100644 --- a/Tab.js +++ b/Tab.js @@ -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}>