-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
29 lines (25 loc) · 771 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
import { Router, ActionConst, Scene } from 'react-native-router-flux';
import React, { Component } from 'react';
import { Provider } from 'react-redux';
import configureStore from './configureStore';
import LibraryList from './screens/libraryList';
const store = configureStore();
export default class App extends Component {
render() {
return (
<Provider store={store}>
<Router>
<Scene key="root">
<Scene
key="libraryListScreen"
component={LibraryList}
title="Library"
headerStyle= {{backgroundColor: '#0d66a2'}}
headerTitleStyle= {{color: '#FFFFFF',alignSelf:'center'}}
/>
</Scene>
</Router>
</Provider>
);
}
}