Answers for "how to align text inside a touchable opacity"

0

how to align text inside a touchable opacity

<View style={{ flex: 1, flexDirection: 'row', justifyContent: 'center', alignItems: 'center' }}>
   <Icon type="MaterialCommunityIcons" name="barcode" />
   <Text style={{ textAlign: 'center' }}>{urun_data.barkod}</Text>
</View>
Posted by: Guest on December-10-2020

Code answers related to "how to align text inside a touchable opacity"

Browse Popular Code Answers by Language