From 235c8874ccec8c02533fa6cca8b96b6d0809962a Mon Sep 17 00:00:00 2001 From: ivanpdigitalalchemist Date: Wed, 27 Sep 2017 21:27:11 -0700 Subject: [PATCH] missing parentheses in example code Summary: in the example code for configuring animations, Easing.back should be Easing.back() Closes https://github.com/facebook/react-native/pull/15273 Differential Revision: D5929874 Pulled By: shergin fbshipit-source-id: 89921d0dda899e1697ee1fa5d96752964a2dc3f9 --- docs/Animations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Animations.md b/docs/Animations.md index 60871d9e2..54c844e6a 100644 --- a/docs/Animations.md +++ b/docs/Animations.md @@ -106,7 +106,7 @@ Animated.timing( this.state.xPosition, { toValue: 100, - easing: Easing.back, + easing: Easing.back(), duration: 2000, } ).start();