Como fazer a largura de um elemento nativo de reação ajustar de acordo com o conteúdo
<View style={{backgroundColor: '#000000', alignSelf: 'flex-start' }}>
<Text style={{color: '#ffffff'}}>
Sample text here
</Text>
</View>
rumbo