-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
58 lines (55 loc) · 1.56 KB
/
Copy pathApp.js
File metadata and controls
58 lines (55 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import { TailwindProvider } from "tailwindcss-react-native";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import Welcome from "./app/Screen/Welcome/Welcome";
import MovieDetails from "./app/Screen/MovieDetails/MovieDetails";
import Account from "./app/Screen/Account/Account";
import Login from "./app/Screen/Login/Login";
import Signup from "./app/Screen/Signup/Signup";
const Stack = createNativeStackNavigator();
const App = () => {
return (
<NavigationContainer>
<TailwindProvider>
<Stack.Navigator initialRouteName="Welcome">
<Stack.Screen
name="Login"
component={Login}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="Signup"
component={Signup}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="Welcome"
component={Welcome}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="MovieDetails"
component={MovieDetails}
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="Account"
component={Account}
options={{
headerShown: false,
}}
/>
</Stack.Navigator>
</TailwindProvider>
</NavigationContainer>
);
};
export default App;