Commit 3601ac20 authored by Trisno's avatar Trisno

tambah touchableopacity di voucher shopping cart

parent 37ecc649
...@@ -435,6 +435,7 @@ class ShoppingCart extends React.Component { ...@@ -435,6 +435,7 @@ class ShoppingCart extends React.Component {
this.props.voucher === [] ? ( this.props.voucher === [] ? (
<> </> <> </>
) : ( ) : (
<TouchableOpacity onPress={() => this.props.navigation.navigate('Reward Select')}>
<Card style={{ padding: 5, margin: 10 }}> <Card style={{ padding: 5, margin: 10 }}>
<View> <View>
<Image source={{ uri: this.props.voucher.title_image }} <Image source={{ uri: this.props.voucher.title_image }}
...@@ -453,6 +454,7 @@ class ShoppingCart extends React.Component { ...@@ -453,6 +454,7 @@ class ShoppingCart extends React.Component {
</View> </View>
</View> </View>
</Card> </Card>
</TouchableOpacity>
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment