From 0221ddf23a6b78866bd85bce9ded124099f76a04 Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Mon, 18 Jan 2016 13:20:29 +0000 Subject: [PATCH] Update Animations.md Remove extra whitespace --- docs/Animations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Animations.md b/docs/Animations.md index c4686814c3f7de..af8d0031ca1ff9 100644 --- a/docs/Animations.md +++ b/docs/Animations.md @@ -213,13 +213,13 @@ respectively (`gestureState` is the second arg passed to the `PanResponder` hand ```javascript onScroll={Animated.event( // scrollX = e.nativeEvent.contentOffset.x - [{nativeEvent: {contentOffset: {x: scrollX}}}] + [{nativeEvent: {contentOffset: {x: scrollX}}}] )} onPanResponderMove={Animated.event([ null, // ignore the native event // extract dx and dy from gestureState // like 'pan.x = gestureState.dx, pan.y = gestureState.dy' - {dx: pan.x, dy: pan.y} + {dx: pan.x, dy: pan.y} ]); ```