2024-09-09 12:09:42 -05:00
|
|
|
import { Image, StyleSheet, Platform } from 'react-native';
|
|
|
|
|
|
|
|
import { ThemedText } from '@/components/ThemedText';
|
|
|
|
import { ThemedView } from '@/components/ThemedView';
|
|
|
|
|
|
|
|
export default function HomeScreen() {
|
2024-09-09 22:57:42 -05:00
|
|
|
const message = "This is the message";
|
2024-09-09 12:09:42 -05:00
|
|
|
return (
|
2024-09-09 22:57:42 -05:00
|
|
|
<ThemedView style={styles.container}>
|
|
|
|
<ThemedText style={styles.title}>{message}</ThemedText>
|
|
|
|
</ThemedView>
|
|
|
|
);
|
2024-09-09 12:09:42 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
const styles = StyleSheet.create({
|
2024-09-09 22:57:42 -05:00
|
|
|
container: {
|
|
|
|
flex: 1,
|
2024-09-09 12:09:42 -05:00
|
|
|
alignItems: 'center',
|
2024-09-09 22:57:42 -05:00
|
|
|
justifyContent: 'center',
|
2024-09-09 12:09:42 -05:00
|
|
|
},
|
2024-09-09 22:57:42 -05:00
|
|
|
title: {
|
|
|
|
fontSize: 56,
|
|
|
|
lineHeight: 64,
|
|
|
|
fontWeight: 'bold',
|
|
|
|
marginBottom: 20,
|
|
|
|
textAlign: 'center',
|
|
|
|
paddingHorizontal: 20,
|
2024-09-09 12:09:42 -05:00
|
|
|
},
|
2024-09-09 22:57:42 -05:00
|
|
|
});
|