Answers for "how to make view width based on content in reactnative"

0

how to make view width based on content in reactnative

<View style={{backgroundColor: '#000000', alignSelf: 'flex-start' }}>
 <Text style={{color: '#ffffff'}}>
  Sample text here
 </Text>
</View>
Posted by: Guest on October-26-2021

Code answers related to "how to make view width based on content in reactnative"

Code answers related to "Javascript"

Browse Popular Code Answers by Language