-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
26 lines (23 loc) · 860 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
import * as React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import 'react-native-gesture-handler';
import { StatusBar } from 'expo-status-bar';
import { PersistGate } from 'redux-persist/es/integration/react';
import { Provider } from 'react-redux';
import { ThemeProvider } from 'styled-components/native';
import { store, persistor } from '~/store/store';
import defaultTheme from '~/constants/theme';
import FooterNavigator from '~/components/Common/FooterNavigator';
const App = () => (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<ThemeProvider theme={defaultTheme}>
<NavigationContainer>
<FooterNavigator />
</NavigationContainer>
<StatusBar style="auto" />
</ThemeProvider>
</PersistGate>
</Provider>
);
export default App;