You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
959 B
32 lines
959 B
10 months ago
|
import * as React from "react";
|
||
|
import { NavigationContainer } from "@react-navigation/native";
|
||
|
import { createNativeStackNavigator } from "@react-navigation/native-stack";
|
||
|
import HomeScreen from "./src/screens/HomeScreen";
|
||
|
import CameraScreen from "./src/screens/Camera";
|
||
|
import Main from "./src/screens/Main";
|
||
9 months ago
|
import { StatusBar } from "expo-status-bar";
|
||
10 months ago
|
|
||
|
const Stack = createNativeStackNavigator();
|
||
|
|
||
|
function App() {
|
||
|
return (
|
||
9 months ago
|
<>
|
||
|
<StatusBar style="light" />
|
||
|
<NavigationContainer>
|
||
|
<Stack.Navigator
|
||
|
initialRouteName="Home"
|
||
|
screenOptions={{
|
||
|
headerShown: false, // This hides the navigation bar globally
|
||
|
}}
|
||
|
>
|
||
|
<Stack.Screen name="Home" component={HomeScreen} />
|
||
|
<Stack.Screen name="Camera" component={CameraScreen} />
|
||
|
<Stack.Screen name="Main" component={Main} />
|
||
|
</Stack.Navigator>
|
||
|
</NavigationContainer>
|
||
|
</>
|
||
10 months ago
|
);
|
||
|
}
|
||
|
|
||
|
export default App;
|