refactor: change signature of interpolation props

This commit is contained in:
satyajit.happy
2019-08-31 10:21:36 +02:00
parent 1b2983eaa9
commit bf0b408238
6 changed files with 66 additions and 54 deletions

View File

@@ -517,10 +517,8 @@ export default class Card extends React.Component<Props> {
) =>
styleInterpolator({
index,
progress: {
current,
next,
},
current: { progress: current },
next: next && { progress: next },
closing: this.isClosing,
layouts: {
screen: layout,