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…
Reference in New Issue