|
|
|
@ -68,23 +68,31 @@ function ReactionEmoji({ reaction, uid, index }: Props) { |
|
|
|
|
transform: [ |
|
|
|
|
{ translateY: animationVal.interpolate({ |
|
|
|
|
inputRange: [ 0, 0.70, 0.75, 1 ], |
|
|
|
|
|
|
|
|
|
// $FlowExpectedError
|
|
|
|
|
outputRange: [ 0, coordinates.topY * vh, coordinates.topY * vh, coordinates.bottomY * vh ] |
|
|
|
|
}) |
|
|
|
|
}, { |
|
|
|
|
translateX: animationVal.interpolate({ |
|
|
|
|
inputRange: [ 0, 0.70, 0.75, 1 ], |
|
|
|
|
|
|
|
|
|
// $FlowExpectedError
|
|
|
|
|
outputRange: [ 0, coordinates.topX, coordinates.topX, |
|
|
|
|
coordinates.topX < 0 ? -coordinates.bottomX : coordinates.bottomX ] |
|
|
|
|
}) |
|
|
|
|
}, { |
|
|
|
|
scale: animationVal.interpolate({ |
|
|
|
|
inputRange: [ 0, 0.70, 0.75, 1 ], |
|
|
|
|
|
|
|
|
|
// $FlowExpectedError
|
|
|
|
|
outputRange: [ 0.6, 1.5, 1.5, 1 ] |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
opacity: animationVal.interpolate({ |
|
|
|
|
inputRange: [ 0, 0.7, 0.75, 1 ], |
|
|
|
|
|
|
|
|
|
// $FlowExpectedError
|
|
|
|
|
outputRange: [ 1, 1, 1, 0 ] |
|
|
|
|
}) |
|
|
|
|
}}> |
|
|
|
|