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;
Em resposta a Hello, world!
1
1
Hello, world!