Update AnimatedImplementation.js

Summary:
Small sample code fix, based on #12175
Closes https://github.com/facebook/react-native/pull/14948

Differential Revision: D5399724

Pulled By: hramos

fbshipit-source-id: dd4de3b06dcec090f0c636b8d4c1f315cefc8b1b
This commit is contained in:
Héctor Ramos 2017-07-11 12:27:08 -07:00 committed by Facebook Github Bot
parent 3f16aa5559
commit 18c795bfcc

View File

@ -2825,9 +2825,9 @@ module.exports = {
* *
*```javascript *```javascript
* onScroll={Animated.event( * onScroll={Animated.event(
* [{nativeEvent: {contentOffset: {x: this._scrollX}}}] * [{nativeEvent: {contentOffset: {x: this._scrollX}}}],
* {listener}, // Optional async listener * {listener}, // Optional async listener
* ) * )}
* ... * ...
* onPanResponderMove: Animated.event([ * onPanResponderMove: Animated.event([
* null, // raw event arg ignored * null, // raw event arg ignored