Skip to content

Instantly share code, notes, and snippets.

@galihlprakoso
Created February 2, 2019 15:53
Show Gist options
  • Save galihlprakoso/22e9351ba422bf7e492acee5667f5f7b to your computer and use it in GitHub Desktop.
Save galihlprakoso/22e9351ba422bf7e492acee5667f5f7b to your computer and use it in GitHub Desktop.
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
export default class App extends React.Component {
render() {
return (
<View style={styles.container}>
<Text>Hello World!</Text>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment