Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native nested text vertical align

<Text>
  <View style={{ flexDirection: 'row', alignItems: 'center' }} >
    <Text style={{ fontSize: 60 }}>Big Text</Text>
    <Text style={{ fontSize: 20 }}>Small Text</Text>
  </View>  
</Text>
 
PREVIOUS NEXT
Tagged: #react #native #nested #text #vertical #align
ADD COMMENT
Topic
Name
4+1 =