Skip to content

Commit 21dc556

Browse files
Example settings page.
1 parent a221a8c commit 21dc556

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

app/(tabs)/three.tsx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import { View, Text, StyleSheet } from "react-native";
2+
3+
export default function SimplePage() {
4+
return (
5+
<View style={styles.container}>
6+
<Text style={styles.header}>My Header</Text>
7+
<Text style={styles.text}>
8+
This is some example text to show a plain page component.
9+
</Text>
10+
</View>
11+
);
12+
}
13+
14+
const styles = StyleSheet.create({
15+
container: {
16+
flex: 1,
17+
justifyContent: "center",
18+
alignItems: "center",
19+
padding: 16,
20+
backgroundColor: "#121212",
21+
},
22+
header: {
23+
fontSize: 24,
24+
fontWeight: "bold",
25+
color: "#fff",
26+
marginBottom: 20,
27+
},
28+
text: {
29+
fontSize: 16,
30+
color: "#ccc",
31+
textAlign: "center",
32+
},
33+
});

0 commit comments

Comments
 (0)