title: Resize image into view - react native
body: <p>I'm wondering if it's possible to resize an image to fit it inside a view.</p>
  
  <p>This is what I have now</p>
  
  <pre><code> &lt;View style={styles.container}&gt;
      &lt;View style={styles.header}&gt;
        &lt;Image
          source={headerImage}    
        /&gt;
  
      &lt;/View&gt;
      &lt;Text style={styles.basicText}&gt;text&lt;/Text&gt;
    &lt;/View&gt;
  </code></pre>
  
  <hr>
  
  <pre><code> const styles = StyleSheet.create({
        container: {
          flex: 1,
          backgroundColor: "#fff"
        },
        header: {
          height: 200, 
          backgroundColor: 'red'
        },
        background: {
          width: null,
          height: null
        },
        image: {
  
        }
  </code></pre>
  
  <p>I want to make the image fit into the header view.</p>