App01Hello.js 449 B

1234567891011121314151617181920
  1. import React from "react";
  2. import {
  3. Text,
  4. View,
  5. } from 'react-native';
  6. import styles from '../styles';
  7. export default class App extends React.Component {
  8. render() {
  9. return (
  10. <View style={styles.container}>
  11. <Text>Open up App.js to start working on your app!</Text>
  12. <Text>Changes you make will automatically reload.</Text>
  13. <Text>Shake your phone to open the developer menu.</Text>
  14. </View>
  15. );
  16. }
  17. }