Add initial first test screen

This commit is contained in:
Patryk
2025-04-01 22:48:36 +02:00
parent fd40827e6d
commit 798d3fe145
25 changed files with 699 additions and 16 deletions

View File

@@ -0,0 +1,27 @@
import { Appearance, StyleSheet, Platform,
SafeAreaView,FlatList, ScrollView, View, Text } from "react-native";
import { Colors } from "@/constants/Colors";
import { MENU_ITEMS } from "@/constants/NoticeItems";
export default function MenuScreen(){
const colorScheme = Appearance.getColorScheme();
const theme = colorScheme === 'dark' ? Colors.dark : Colors.light;
const Container = Platform.OS === 'web' ? ScrollView : SafeAreaView;
return(
<Container>
<FlatList
data={MENU_ITEMS}
keyExtractor={(item) => item.id.toString()}
renderItem={({ item }) => (
<View>
<Text>{item.title}</Text>
</View>
)}
></FlatList>
</Container>
)
}