Last active
December 12, 2018 15:59
-
-
Save youneshenniwrites/d7fb9f4a214f26fdd59c379d2b9bab79 to your computer and use it in GitHub Desktop.
Zopher second commit
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' | |
// Amplify auth imports and config | |
import Amplify from '@aws-amplify/core' | |
import { withAuthenticator } from 'aws-amplify-react-native' | |
import config from './aws-exports'; | |
Amplify.configure(config) | |
class App extends React.Component { | |
render() { | |
return ( | |
<View style={styles.container}> | |
<Text>Open up App.js to start working on your app!</Text> | |
</View> | |
); | |
} | |
} | |
export default withAuthenticator(App, {includeGreetings: true}) | |
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