Last active
February 12, 2018 11:43
-
-
Save dharavp/68c662cb8e37ddbe3ef33bdf04b3cc45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
render() { | |
return ( | |
<View style = { | |
{ | |
flex: 1, | |
flexDirection: ‘column’, | |
justifyContent: ’center’ | |
} | |
} > | |
//changed justifyContent value to the flex-start,flex-end,space-between,space-around | |
< View style = {{width: 50,height: 50,backgroundColor: ‘powderblue’}} /> | |
< View style = {{width: 50,height: 50,backgroundColor: ‘skyblue’}} /> | |
< View style = {{width: 50,height: 50,backgroundColor: ‘steelblue’}} /> | |
</View> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment