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
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";
|
|
import { StatusBar } from "expo-status-bar";
|
|
|
|
const Stack = createNativeStackNavigator();
|
|
|
|
function App() {
|
|
return (
|
|
<>
|
|
<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>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default App;
|