Created
July 7, 2016 13:01
-
-
Save franzejr/3fe07dcd7cbf01e818e5bb006a8e58c2 to your computer and use it in GitHub Desktop.
MainScreen
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
import React from 'react'; | |
import { | |
StyleSheet, | |
Text, | |
View, | |
} from 'react-native'; | |
const styles = StyleSheet.create({ | |
container: { | |
flex: 1, | |
justifyContent: 'center', | |
alignItems: 'center', | |
backgroundColor: '#F5FCFF', | |
}, | |
welcome: { | |
fontSize: 20, | |
textAlign: 'center', | |
margin: 10, | |
}, | |
}); | |
const MainScreen = () => { | |
return ( | |
<View style={styles.container}> | |
<Text style={styles.welcome}> | |
Main Screen | |
</Text> | |
</View> | |
); | |
}; | |
export default MainScreen; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment