how to give background image for view in react native code example
Example 1: view background image in react native
<ImageBackground source={require('../design/postsbg1.png')} style={styles.image}>
...children tags
</ImageBackground>
Example 2: add background image react native
return (
<ImageBackground source={...} style={{width: '100%', height: '100%'}}>
......All Children tags
</ImageBackground>
);