Add options to opt-in/out of card overlay and shadow

This commit is contained in:
Brent Vatne
2018-10-11 17:04:23 -07:00
parent bd4f3af124
commit 8b509dd525
5 changed files with 48 additions and 20 deletions

View File

@@ -714,6 +714,8 @@ class StackViewLayout extends React.Component {
screenInterpolator &&
screenInterpolator({
...this.props.transitionProps,
shadowEnabled: this.props.shadowEnabled,
cardOverlayEnabled: this.props.cardOverlayEnabled,
position: this._getPosition(),
scene,
});