-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
54 lines (52 loc) · 1.77 KB
/
App.js
File metadata and controls
54 lines (52 loc) · 1.77 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
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import { TailwindProvider } from "tailwindcss-react-native";
import HomeScreen from "./src/screens/HomeScreen";
import LoadingScreen from "./src/screens/LoadingScreen";
import PaymentScreen from "./src/screens/PaymentScreen";
import PostScreen from "./src/screens/PostScreen";
import ProfileScreen from "./src/screens/ProfileScreen";
import SettingsScreen from "./src/screens/SettingsScreen";
import SupportAuthorsScreen from "./src/screens/SupportAuthorsScreen";
const Stack = createNativeStackNavigator();
export default function App() {
return (
<NavigationContainer>
<TailwindProvider>
<Stack.Navigator>
<Stack.Screen
name="Home"
component={HomeScreen}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Post"
component={PostScreen}
options={{ headerShown: false }}
/>
<Stack.Screen name="Settings" component={SettingsScreen} />
<Stack.Screen
name="Profile"
component={ProfileScreen}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Payment"
component={PaymentScreen}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Support Authors"
component={SupportAuthorsScreen}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Loading"
component={LoadingScreen}
options={{ headerShown: false }}
/>
</Stack.Navigator>
</TailwindProvider>
</NavigationContainer>
);
}