-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
30 lines (27 loc) · 736 Bytes
/
App.tsx
File metadata and controls
30 lines (27 loc) · 736 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
28
29
30
import { StatusBar } from "expo-status-bar";
import { Provider } from "react-redux";
import { SafeAreaView, StyleSheet } from "react-native";
import { ThemeProvider } from "styled-components/native";
import { store } from "./src/store/store";
import { Navigation } from "./src/navigation";
import { theme } from "./src/theme/theme";
import "./src/i18n/i18n";
export default function App() {
return (
<>
<StatusBar style="light" />
<Provider store={store}>
<ThemeProvider theme={theme}>
<SafeAreaView style={styles.root}>
<Navigation />
</SafeAreaView>
</ThemeProvider>
</Provider>
</>
);
}
const styles = StyleSheet.create({
root: {
flex: 1
}
});