This repository has been archived by the owner on Sep 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0831dd7
commit cb7935f
Showing
7 changed files
with
7,115 additions
and
23,301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,40 @@ | ||
import * as React from "react"; | ||
import React from "react"; | ||
import { NavigationContainer } from "@react-navigation/native"; | ||
import { createStackNavigator } from "@react-navigation/stack"; | ||
import { createNativeStackNavigator } from "@react-navigation/native-stack"; | ||
import Home from "./screens/Home"; | ||
import Settings from "./screens/Settings"; | ||
import About from "./screens/About"; | ||
import Searchhistory from "./screens/Searchhistory"; | ||
import History from "./screens/History"; | ||
|
||
const Stack = createStackNavigator(); | ||
const Stack = createNativeStackNavigator(); | ||
|
||
export default function App() { | ||
const App = () => { | ||
return ( | ||
<NavigationContainer> | ||
<Stack.Navigator> | ||
<Stack.Screen | ||
name="Home" | ||
options={{ | ||
headerShown: false, | ||
headerShown: false, | ||
}} | ||
component={Home} | ||
/> | ||
<Stack.Screen | ||
name="Settings" | ||
options={{ | ||
headerShown: false, | ||
}} | ||
component={Settings} | ||
/> | ||
<Stack.Screen | ||
name="About" | ||
options={{ | ||
headerShown: false, | ||
}} | ||
component={About} | ||
/> | ||
<Stack.Screen | ||
name="SearchHistory" | ||
options={{ | ||
headerShown: false, | ||
}} | ||
component={Searchhistory} | ||
/> | ||
name="Home" component={Home} /> | ||
<Stack.Screen | ||
options={{ | ||
headerShown: false, | ||
}} | ||
name="Settings" component={Settings} /> | ||
<Stack.Screen | ||
options={{ | ||
headerShown: false, | ||
}} | ||
name="About" component={About} /> | ||
<Stack.Screen | ||
options={{ | ||
headerShown: false, | ||
}} | ||
name="History" component={History} /> | ||
</Stack.Navigator> | ||
</NavigationContainer> | ||
); | ||
} | ||
}; | ||
|
||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.