-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
31 lines (29 loc) · 788 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
import React from 'react';
import { StatusBar, StyleSheet, Text, View } from 'react-native';
import { Provider } from 'react-redux';
import { Header } from './src/components/common';
import Router from './src/Router';
import store from './src/store/configureStore';
import Colors from './src/constants/Colors';
export default class App extends React.Component {
render() {
return (
<Provider store={store}>
<View style={styles.container}>
<StatusBar barStyle="light-content" />
<Router />
</View>
</Provider>
);
}
}
const styles = {
statusBar: {
backgroundColor: Colors.redColor
},
container: {
flex: 1,
paddingTop: StatusBar.currentHeight,
backgroundColor: Colors.backgroundColor,
},
};