-
Notifications
You must be signed in to change notification settings - Fork 24
/
App.js
36 lines (33 loc) · 995 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
30
31
32
33
34
35
36
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import * as eva from "@eva-design/eva";
import { NavigationContainer } from "@react-navigation/native";
import { ApplicationProvider, IconRegistry } from "@ui-kitten/components";
import { EvaIconsPack } from "@ui-kitten/eva-icons";
import React from "react";
import { StatusBar } from "react-native";
import { Provider } from "react-redux";
import { DrawerNavigator } from "./src/routes";
import store from "./src/store/store";
import theme from "./theme.json";
const App = () => {
return (
<>
<IconRegistry icons={EvaIconsPack} />
<StatusBar barStyle={"dark-content"} />
<ApplicationProvider {...eva} theme={{ ...eva.light, ...theme }}>
<Provider store={store}>
<NavigationContainer>
<DrawerNavigator />
</NavigationContainer>
</Provider>
</ApplicationProvider>
</>
);
};
export default App;