Skip to content

Instantly share code, notes, and snippets.

@franzejr
Created July 7, 2016 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save franzejr/3fe07dcd7cbf01e818e5bb006a8e58c2 to your computer and use it in GitHub Desktop.
Save franzejr/3fe07dcd7cbf01e818e5bb006a8e58c2 to your computer and use it in GitHub Desktop.
MainScreen
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