title: Cannot set React Native Animated value to View component CSS style
body: <p>I am trying to have a View component style animate. I am following the examples listed here: <a href="https://facebook.github.io/react-native/docs/animations.html" rel="nofollow">https://facebook.github.io/react-native/docs/animations.html</a></p>
  
  <p>But, when I render my component, I get the error:</p>
  
  <blockquote>
    <p>[tid:com.facebook.React.ShadowQueue][RCTConvert.m:55] Error setting property 'height' of RCTView with tag #7: JSON value '{
        "_animation" = "";
        "_children" =     (
        );
        "_listeners" =     {
        };
        "_offset" = 0;
        "_value" = 200;
    }' of type NSDictionary cannot be converted to NSNumber</p>
  </blockquote>
  
  <p>This is how I'm setting the Animated value in my constructor:</p>
  
  <pre><code>  constructor() {
      super();
      this.state = {
        titleContainerHeight: new Animated.Value(200),
      }
    }
  </code></pre>
  
  <p>And here is my view:</p>
  
  <pre><code>&lt;View style={[styles.titleContainer,{height:this.state.titleContainerHeight}]}&gt;
    &lt;Text style={[{color: 'white'}]}&gt;App logo here&lt;/Text&gt;
  &lt;/View&gt;
  </code></pre>
  
  <p>Seems like I'm going everything just how the documentation describes, and I'm doing the same thing in another component without getting any errors. So, what is wrong here?</p>