Skip to content

Instantly share code, notes, and snippets.

@rohanBagchi
Created February 7, 2018 06:00
Show Gist options
  • Save rohanBagchi/d02ebeae70f7621c9c096738f88142cf to your computer and use it in GitHub Desktop.
Save rohanBagchi/d02ebeae70f7621c9c096738f88142cf to your computer and use it in GitHub Desktop.
ReactNativeTodo App.js initial code
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>Shake your phone to open the developer menu.</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