title: How to set an image as background of a Form in React Native?
body: <p>i have been working on a form in which i need to get a background image to make it look more beautiful. when i use form components inside the image tag it shows the following error 
    <a href="https://i.stack.imgur.com/xu7QX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xu7QX.png" alt="enter image description here"></a></p>
  
  <p>im giving the code below that i used </p>
  
  <pre><code>import React,{Component} from 'react'
  import {Image,View,Dimensions,ImageBackground} from 'react-native'
  
  let {height,width}=Dimensions.get('window')
  class DearImage extends Component {
   render() {
     return (
       &lt;View &gt;
         &lt;Image source={require('../drawable/Auntie.jpeg')}
           width={width}
           height={height} &gt;
          {this.props.children}
         &lt;/Image&gt;        
       &lt;/View&gt;    
     );
   }
  }
  
  export default DearImage;
  </code></pre>