I'm trying to align the Thumbnail to the topLeft by using justifyContent: 'flex-start'
. But it's not working. Below is my code.
<Content>
<View key = {index} style={styles.commentBody}>
<List>
<ListItem avatar>
<View style={{ justifyContent: 'flex-start'}}>
<Left>
<Thumbnail
source={post.Thumbnail}
/>
</Left>
</View>
<Body>
<Text>{post.body}</Text>
</Body>
<Right>
<Text note>3:43 pm</Text>
</Right>
</ListItem>
</List>
</View>
I tried to add the justifyContent: 'flex-start'
to the Thumbnail style
also but no luck.
How do I make the Thumbnail appear at the top Left and not the center?
Thanks.