Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

text and icon on same line react native

<View style={{ flexDirection: 'row', justifyContent: 'space-between' }}>
    <Icon name="ios-chat" size={20} />
    <Text>
      2 replies
    </Text>
 </View>
 
PREVIOUS NEXT
Tagged: #text #icon #line #react #native
ADD COMMENT
Topic
Name
9+3 =