import React from 'react';
import { StyleSheet, View, Text } from 'react-native';

const HelloWorld = () => {
  const styles = StyleSheet.create({
    container: {
      flex: 1,
      justifyContent: 'center',
      alignSelf: 'center'
    }
  });

  return (
      <View style={styles.container}>
        <Text>Hello World</Text>
      </View>
  );
}

export default HelloWorld;

Hello, world!