-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
19 lines (18 loc) · 663 Bytes
/
App.js
File metadata and controls
19 lines (18 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { StatusBar } from "expo-status-bar";
import { SafeAreaView, StyleSheet, Switch, Text, View } from "react-native";
import { useColorScheme } from "nativewind";
import Navigation from './Navigation'
import Item from "./src/components/Items";
export default function App() {
const { colorScheme, toggleColorScheme } = useColorScheme();
return (
<Navigation />
/* <SafeAreaView className='dark:bg-black '>
<View className="">
<Switch value={colorScheme === "dark"} onChange={toggleColorScheme} />
</View>
<Item />
<StatusBar style={colorScheme === "dark" ? "light" : "dark"} />
</SafeAreaView>
*/ );
}