-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
33 lines (29 loc) · 884 Bytes
/
App.tsx
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
import React from 'react';
import {SafeAreaView, StyleSheet, StatusBar} from 'react-native';
import {Colors} from './src/Colors';
import {createStore} from 'redux';
import {initiativeListReducer} from './src/reducers/InitiativeList';
import {Provider} from 'react-redux';
import {CombatantList} from './src/components/CombatantList';
import {Header} from './src/components/Header';
import {Footer} from './src/components/Footer';
const store = createStore(initiativeListReducer);
const App = () => {
return (
<Provider store={store}>
<SafeAreaView style={styles.safeAreaView}>
<StatusBar barStyle="dark-content" />
<Header />
<CombatantList />
<Footer />
</SafeAreaView>
</Provider>
);
};
const styles = StyleSheet.create({
safeAreaView: {
backgroundColor: Colors.backGround,
flex: 1,
},
});
export default App;