-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
33 lines (30 loc) · 759 Bytes
/
App.js
File metadata and controls
33 lines (30 loc) · 759 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
31
32
33
/*jshint esversion: 6 */
import React from 'react';
import { View, StatusBar } from 'react-native';
import { Provider } from 'react-redux';
import './src/config/ReactotronConfig';
import Reactotron from 'reactotron-react-native';
import { Screens } from './src/config/router';
import store from './src/store';
export default class App extends React.Component {
render() {
Reactotron.log('starting the app');
return (
<Provider store={store}>
<View style={styles.container}>
<StatusBar
backgroundColor="black"
barStyle="dark-content"
/>
<Screens/>
</View>
</Provider>
);
}
}
const styles = ({
container: {
flex: 1,
backgroundColor: '#fff',
},
});