forked from Memmy-App/memmy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
29 lines (26 loc) · 984 Bytes
/
App.js
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 { StatusBar } from "expo-status-bar";
import {Provider} from "react-redux";
import store from "./store";
import {GestureHandlerRootView} from "react-native-gesture-handler";
import {NativeBaseProvider, useTheme} from "native-base";
import darkTheme from "./theme/theme";
import {ActionSheetProvider} from "@expo/react-native-action-sheet";
import React from "react";
import Stack from "./Stack";
import {SafeAreaProvider} from "react-native-safe-area-context";
export default function App() {
return (
<>
<StatusBar style={"light"} />
<Provider store={store}>
<GestureHandlerRootView style={{flex: 1}}>
<NativeBaseProvider theme={darkTheme}>
<ActionSheetProvider>
<Stack />
</ActionSheetProvider>
</NativeBaseProvider>
</GestureHandlerRootView>
</Provider>
</>
);
};