mirror of
https://github.com/status-im/react-navigation-stack.git
synced 2025-02-05 19:23:28 +00:00
Bugfix - Card style background
Fixes issue https://github.com/react-navigation/react-navigation/issues/5253
This commit is contained in:
parent
50dd7225df
commit
a8b35cf58a
@ -64,7 +64,10 @@ class Card extends React.Component {
|
||||
) : null}
|
||||
<Animated.View
|
||||
{...getAccessibilityProps(isActive)}
|
||||
style={[transparent ? styles.transparent : styles.card]}
|
||||
style={[
|
||||
transparent ? styles.transparent : styles.card,
|
||||
style && style.backgroundColor ? { backgroundColor: style.backgroundColor } : {}
|
||||
]}
|
||||
>
|
||||
{children}
|
||||
</Animated.View>
|
||||
|
Loading…
x
Reference in New Issue
Block a user