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]}
|
style={[StyleSheet.absoluteFill, containerAnimatedStyle, screenStyle]}
|
||||||
active={active}
|
active={active}
|
||||||
>
|
>
|
||||||
{shadowOpacity ? (
|
{!transparent && shadowOpacity ? (
|
||||||
<Animated.View
|
<Animated.View
|
||||||
style={[styles.shadow, { shadowOpacity }]}
|
style={[styles.shadow, { shadowOpacity }]}
|
||||||
pointerEvents="none"
|
pointerEvents="none"
|
||||||
|
|
Loading…
Reference in New Issue