forked from heydemoura/react-native-bare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
35 lines (28 loc) · 752 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
29
30
31
32
33
34
35
import React from 'react'
import { connect, Provider } from 'react-redux'
import {
Header, Body, Container,
Button, Left, Icon, Title} from 'native-base'
/** Third-party Components **/
import { Actions, Scene, Router } from 'react-native-router-flux'
/** Local Components/Containers **/
/** Scenes **/
import Scenes from './app/scenes'
/** Stores **/
import configureStore from './app/store'
const ReduxRouter = connect()(Router)
const store = configureStore({})
/** Main Component **/
export default class Index extends React.Component {
render () {
return (
<Provider store={store}>
<ReduxRouter>
<Scene key="root">
{Scenes}
</Scene>
</ReduxRouter>
</Provider>
)
}
}