-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
27 lines (24 loc) · 870 Bytes
/
App.js
File metadata and controls
27 lines (24 loc) · 870 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
import React from "react";
import { StatusBar } from "react-native";
import { NavigationContainer } from "@react-navigation/native";
import { NativeBaseProvider } from "native-base";
import "react-native-gesture-handler";
import Theme from "./components/Shared/Theme";
import AuthModal from "./components/Pages/Auth/AuthModal";
import MainNavigator from "./components/Navigation";
import Confetti from "./components/Shared/Confetti/Confetti";
import { CommunityProvider } from "./components/Contexts/CommunityContext";
export default function App() {
return (
<NativeBaseProvider theme={Theme}>
<StatusBar barStyle="dark-content" />
<CommunityProvider>
<NavigationContainer>
<AuthModal />
<Confetti />
<MainNavigator />
</NavigationContainer>
</CommunityProvider>
</NativeBaseProvider>
);
}