Answers for "imagebackgroundbase react native"

0

ImageBackground in React Native

<ImageBackground source={require('background image path')} style={{width: '100%', height: '100%'}}>
   <View style={{position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, justifyContent: 'center', alignItems: 'center'}}>
     <Text>Centered text</Text>
   </View>
</ImageBackground>
Posted by: Guest on October-25-2021

Code answers related to "imagebackgroundbase react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language