-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
25 lines (22 loc) · 921 Bytes
/
App.tsx
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
import React from 'react';
import { StatusBar } from 'expo-status-bar';
import { ThemeProvider as StyledComponentsThemeProvider } from 'styled-components';
import { ThemeProvider as ReactNativeElementsThemeProvider } from 'react-native-elements';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { Provider as ReduxProvider } from 'react-redux';
import { themeColors } from './src/styles/color';
import { Navigation } from './src/pages/Navigation';
import { store } from './src/logics/store/store';
export const App = () => (
<SafeAreaProvider>
<ReactNativeElementsThemeProvider>
<StyledComponentsThemeProvider theme={themeColors}>
<ReduxProvider store={store}>
<Navigation />
<StatusBar style="auto" />
</ReduxProvider>
</StyledComponentsThemeProvider>
</ReactNativeElementsThemeProvider>
</SafeAreaProvider>
);
export default App;