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.
23 lines
718 B
23 lines
718 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";
|
||
|
|
||
|
const Stack = createNativeStackNavigator();
|
||
|
|
||
|
function App() {
|
||
|
return (
|
||
|
<NavigationContainer>
|
||
|
<Stack.Navigator initialRouteName="Home">
|
||
|
<Stack.Screen name="Home" component={HomeScreen} />
|
||
|
<Stack.Screen name="Camera" component={CameraScreen} />
|
||
|
<Stack.Screen name="Main" component={Main} />
|
||
|
</Stack.Navigator>
|
||
|
</NavigationContainer>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
export default App;
|