-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
32 lines (29 loc) · 899 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
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { Provider } from 'react-redux';
import configureStore from './configureStore';
import MainNavigation from './Navigation';
import StyledStatusBar from './components/StatusBar';
import * as color from './utils/colors';
export default class App extends React.Component {
render() {
const store = configureStore();
return (
<Provider store={store}>
<View style={styles.container}>
<StyledStatusBar
backgroundColor={color.green}
barStyle="light-content"
/>
<MainNavigation />
</View>
</Provider>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center'
}
});