title: React Native require(image) returns number
body: <p>I have a js file with one component EventCard, which takes event name, date, event image etc. If event image does not exist I want to load a placeholder image. Now that statement looks like this</p>
  
  <pre><code>constructor(props){
      super(props);
      let imgUrl = props.image ? props.image : require("../assets/images/image.jpg");
      this.state = {image: imgUrl}
  }
  </code></pre>
  
  <p>I am using this.state inside render for source like </p>
  
  <pre><code>source={{uri: this.state.image}}
  </code></pre>
  
  <p>I strangely get 11 when doing a require for the placeholder image and the react native throws error saying 'value for uri cannot be cast from Double to String'.</p>
  
  <p>Help is much appreciated.</p>
  
  <p>Thanks</p>