-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathApp.js
More file actions
29 lines (25 loc) · 805 Bytes
/
App.js
File metadata and controls
29 lines (25 loc) · 805 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
import React from 'react'
import { Text, View, Platform } from 'react-native'
import { FontAwesome, Ionicons } from '@expo/vector-icons'
import { createStore } from 'redux'
import { Provider } from 'react-redux'
import reducer from './reducers'
import { purple } from './utils/colors'
import AppStatusBar from './components/AppStatusBar'
import { setLocalNotification } from './utils/helpers'
import { MainNavigator } from './navigation'
export default class App extends React.Component {
componentDidMount () {
setLocalNotification()
}
render() {
return (
<Provider store={createStore(reducer)}>
<View style={{flex:1}}>
<AppStatusBar backgroundColor={purple} barStyle='light-content' />
<MainNavigator />
</View>
</Provider>
);
}
}