-
Notifications
You must be signed in to change notification settings - Fork 7
/
App.js
23 lines (19 loc) · 767 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
import React, { Component } from 'react';
import { Router, Scene } from 'react-native-router-flux';
import { Provider } from "react-redux";
import matchStore from "./src/store";
import HomeScreen from './src/screens/Home';
import SingleMatchInn1Screen from './src/screens/SingleMatch_Inn1';
import SingleMatchInn2Screen from './src/screens/SingleMatch_Inn2';
const App = () => {
return (
<Provider store={matchStore}><Router>
<Scene key="root" hideNavBar initial>
<Scene key="match_list" component={HomeScreen} />
<Scene key="single_match_inn1" component={SingleMatchInn1Screen} />
<Scene key="single_match_inn2" component={SingleMatchInn2Screen} />
</Scene>
</Router></Provider>
);
}
export default App;