u
This commit is contained in:
1 parent
4274b26dd9
commit
f28107399e
183 files changed
+32632
-20013
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { useColorScheme } from "@/hooks/use-color-scheme";
|
||||
import { Stack } from "expo-router";
|
||||
import { useEffect } from "react";
|
||||
import "@/styles/global.css";
|
||||
|
||||
export default function RootLayout() {
|
||||
const colorScheme = useColorScheme();
|
||||
|
||||
useEffect(() => {
|
||||
console.log(colorScheme);
|
||||
}, [colorScheme]);
|
||||
|
||||
return <Stack />;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import { Text, View } from "react-native";
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
<View className="flex-1 items-center justify-center bg-white dark:bg-black">
|
||||
<Text className="text-xl font-bold text-blue-500 dark:text-white">Welcome to Nativewind!</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user