-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathApp.tsx
More file actions
29 lines (25 loc) · 890 Bytes
/
App.tsx
File metadata and controls
29 lines (25 loc) · 890 Bytes
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
import React from "react";
import { ThemeProvider } from "@rneui/themed";
import theme from "./theme/base";
import { SafeAreaProvider } from "react-native-safe-area-context";
import { NavigationContainer } from "@react-navigation/native";
import HomeScreen from "./app/screens/home";
import LoginScreen from "./app/screens/Login";
import ProfileScreen from "./app/screens/profile";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import { TabNav } from "./app/nav/stacknav";
const Stack = createNativeStackNavigator();
function App() {
return (
<SafeAreaProvider>
<NavigationContainer>
<ThemeProvider theme={theme()}>
{/* <Drawer ref={(ref) => (this._drawer = ref)}> */}
<TabNav />
{/* </Drawer> */}
</ThemeProvider>
</NavigationContainer>
</SafeAreaProvider>
);
}
export default App;