Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. import React from 'react';
  2. import { StyleSheet, Text, View } from 'react-native';
  3. import Amplify from 'aws-amplify';
  4. import aws_exports from './aws-exports';
  5.  
  6. Amplify.configure(aws_exports);
  7.  
  8. export default class App extends React.Component {
  9. render() {
  10. return (
  11. <View style={styles.container}>
  12. <Text>This is my DynamoDB App</Text>
  13. <Text>Changes you make will automatically reload.</Text>
  14. <Text>Shake your phone to open the developer menu.</Text>
  15. </View>
  16. );
  17. }
  18. }
  19.  
  20. const styles = StyleSheet.create({
  21. container: {
  22. flex: 1,
  23. backgroundColor: '#fff',
  24. alignItems: 'center',
  25. justifyContent: 'center',
  26. },
  27. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement