-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.js
24 lines (19 loc) · 886 Bytes
/
index.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
import { Navigation } from 'react-native-navigation'
import Home from './src/views/Home'
// import Home from './src/views/Musiclist'
import Search from './src/views/Search'
import Play from './src/views/Play'
import Notice from './src/components/Notice'
import Musiclist from './src/views/Musiclist'
import Provider from './src/store/MobxRnnProvider'
import store from './src/store/models'
Navigation.registerComponent('crnaproject.Home', () => Home, store, Provider)
Navigation.registerComponent('crnaproject.Search', () => Search, store, Provider)
Navigation.registerComponent('crnaproject.Play', () => Play, store, Provider)
Navigation.registerComponent('crnaproject.Notice', () => Notice, store, Provider)
Navigation.registerComponent('crnaproject.Musiclist', () => Musiclist, store, Provider)
Navigation.startSingleScreenApp({
screen: {
screen: 'crnaproject.Home'
}
})