react native background image
snippet in javascript

react native background image

user8014

return (
  <ImageBackground source={...} style={{width: '100%', height: '100%'}}>
    <Text>Inside</Text>
  </ImageBackground>
);

react native backgrunde img

user7842

return (
  <ImageBackground source={...} style={{width: '100%', height: '100%'}}>
    <Text>Inside</Text>
  </ImageBackground>
);

view background image in react native

user5540

<ImageBackground source={require('../design/postsbg1.png')} style={styles.image}>
  ...children tags
</ImageBackground>