From 214d862e61d87a31133619d4f721c3c8501910da Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Wed, 4 Jan 2017 17:32:34 -0800 Subject: [PATCH] [add] ScrollView to Animated --- src/apis/Animated/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apis/Animated/index.js b/src/apis/Animated/index.js index 7d59efc3..2e9ad1df 100644 --- a/src/apis/Animated/index.js +++ b/src/apis/Animated/index.js @@ -1,5 +1,6 @@ import Animated from 'animated'; import Image from '../../components/Image'; +import ScrollView from '../../components/ScrollView'; import StyleSheet from '../StyleSheet'; import Text from '../../components/Text'; import View from '../../components/View'; @@ -9,6 +10,7 @@ Animated.inject.FlattenStyle(StyleSheet.flatten); module.exports = { ...Animated, Image: Animated.createAnimatedComponent(Image), + ScrollView: Animated.createAnimatedComponent(ScrollView), Text: Animated.createAnimatedComponent(Text), View: Animated.createAnimatedComponent(View) };