Merge pull request #28 from janicduplessis/transparent-card

Add transparentCard option to fix cards with a transparent bg when using screens
This commit is contained in:
Brent Vatne
2018-09-24 13:32:16 -07:00
parent 4894bb5042
commit 00b83bb18d
5 changed files with 125 additions and 8 deletions

View File

@@ -618,6 +618,7 @@ class StackViewLayout extends React.Component {
<Card
{...this.props.transitionProps}
key={`card_${scene.key}`}
transparent={this.props.transparentCard}
style={[style, { paddingTop }, this.props.cardStyle]}
scene={scene}
>