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:
ivanpdigitalalchemist 2017-09-27 21:27:11 -07:00 committed by Facebook Github Bot
parent 4119182b51
commit 235c8874cc
1 changed files with 1 additions and 1 deletions

View File

@ -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();