title: Linear Gradient In React-Native
body: <p>I have a component and I want a linear gradient from right bottom to top left in react native, I tried using  from 'react-native-linear-gradient' but it's not working.</p>
  
  <p>Component :</p>
  
  <p>// render return </p>
  
  <pre><code>   return( 
        &lt;LinearGradient colors={['#4c669f', '#3b5998', '#192f6a']} &gt;
         &lt;View style={styles.container}&gt;
           &lt;View  style={styles.topPart}&gt;
             &lt;Header &gt;&lt;/Header&gt;
             &lt;Content &gt;&lt;/Content&gt;
          &lt;/View&gt;  
          &lt;Footer style={styles.footer}&gt;&lt;/Footer&gt;
        &lt;/View&gt;
      &lt;/LinearGradient&gt;  
  );
  </code></pre>
  
  <p>Please guide how to achieve this.</p>