This commit is contained in:
Patryk
2025-04-04 20:17:48 +02:00
parent 798d3fe145
commit 6667a41adc
38 changed files with 0 additions and 15291 deletions

View File

@@ -1,27 +0,0 @@
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>
)
}