missing parentheses in example code
Summary: in the example code for configuring animations, Easing.back should be Easing.back() <!-- Thank you for sending the PR! If you changed any code, please provide us with clear instructions on how you verified your changes work. In other words, a test plan is *required*. Bonus points for screenshots and videos! Please read the Contribution Guidelines at https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md to learn more about contributing to React Native. Happy contributing! --> Closes https://github.com/facebook/react-native/pull/15273 Differential Revision: D5929874 Pulled By: shergin fbshipit-source-id: 89921d0dda899e1697ee1fa5d96752964a2dc3f9
This commit is contained in:
parent
4119182b51
commit
235c8874cc
|
@ -106,7 +106,7 @@ Animated.timing(
|
||||||
this.state.xPosition,
|
this.state.xPosition,
|
||||||
{
|
{
|
||||||
toValue: 100,
|
toValue: 100,
|
||||||
easing: Easing.back,
|
easing: Easing.back(),
|
||||||
duration: 2000,
|
duration: 2000,
|
||||||
}
|
}
|
||||||
).start();
|
).start();
|
||||||
|
|
Loading…
Reference in New Issue