No shadow when transparent
This commit is contained in:
parent
18c8af3e1b
commit
db4dd5bec2
|
@ -58,7 +58,7 @@ class Card extends React.Component {
|
|||
style={[StyleSheet.absoluteFill, containerAnimatedStyle, screenStyle]}
|
||||
active={active}
|
||||
>
|
||||
{shadowOpacity ? (
|
||||
{!transparent && shadowOpacity ? (
|
||||
<Animated.View
|
||||
style={[styles.shadow, { shadowOpacity }]}
|
||||
pointerEvents="none"
|
||||
|
|
Loading…
Reference in New Issue