Skip to content

Instantly share code, notes, and snippets.

@eyalcohen4
Last active May 23, 2021 18:35
Show Gist options
  • Save eyalcohen4/f005f69eb517586f09e49b42bf7198c4 to your computer and use it in GitHub Desktop.
Save eyalcohen4/f005f69eb517586f09e49b42bf7198c4 to your computer and use it in GitHub Desktop.
Initial react native App.js
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
export default function App() {
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