Last active
April 9, 2017 12:46
-
-
Save WF-Chiang/0a2b65912eb7f74f92713699a07b7b38 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
<View style={{ | |
backgroundColor: '#F5FCFF', | |
flex: 1, | |
justifyContent: 'center', // 垂直置中 | |
alignItems: 'center' // 水平置中 | |
}}> | |
<Text> | |
Welcome to React Native! | |
To get started, edit index.ios.js | |
Press Cmd+R to reload, | |
Cmd+D or shake for dev menu | |
</Text> | |
</View> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment