how to load image first in react native then use as background code example
Example: view background image in react native
<ImageBackground source={require('../design/postsbg1.png')} style={styles.image}>
...children tags
</ImageBackground>
<ImageBackground source={require('../design/postsbg1.png')} style={styles.image}>
...children tags
</ImageBackground>