mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-12 22:30:36 +08:00
refactor: change signature of interpolation props
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user