title: How to add animation to contentContainerStyle?
body: <p>I'm currently trying to animate a scrollview, so it adjusts to the height of an accordian above it. I'm trying to get the scrollView to offset by using an animation but I keep getting the error Transform with key of "translateY" must be a number: {"translateY":0}. If I wrap it in Animated.View the animation no longer works? </p>
  
  <pre><code>  &lt;AnimatedScrollView
        {...props}
        onScroll={Animated.event([
          { nativeEvent: { contentOffset: { y: this.state.scroll } } },
        ])}
        scrollEventThrottle={16}
        contentContainerStyle={{
          transform: [
            {
              translateY: this.state.contentOffset,
            },
          ],
        }}
      &gt;
  </code></pre>