Skip to content

Commit 1087339

Browse files
committed
add example for mobile
1 parent decf028 commit 1087339

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed
Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
import { Image } from "expo-image";
2-
import { Platform, StyleSheet, View } from "react-native";
2+
import { Platform, StyleSheet, View, Text } from "react-native";
33

44
import { Link } from "expo-router";
55

66
export default function HomeScreen() {
7-
return <View></View>;
7+
return <View>
8+
<Text style={styles.title}>Hello</Text>
9+
</View>;
810
}
911

1012
const styles = StyleSheet.create({
11-
13+
title: {
14+
fontSize: 20,
15+
fontWeight: 'bold',
16+
textAlign: 'center',
17+
marginTop: 20,
18+
},
1219
});

0 commit comments

Comments
 (0)