-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.ios.js
More file actions
34 lines (28 loc) · 783 Bytes
/
index.ios.js
File metadata and controls
34 lines (28 loc) · 783 Bytes
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
/**
* Sample React Native App
* https://github.com/facebook/react-native
*/
import React, { Component } from 'react'
import { AppRegistry } from 'react-native'
import { Provider } from 'react-redux'
import App from './containers/App'
import configureStore from './app/store/configureStore'
const store = configureStore()
class captain extends Component {
render() {
return (
<Provider store={store}>
<App />
</Provider>
)
}
}
AppRegistry.registerComponent('captain', () => captain)
// import React, { Component } from 'react'
// import { AppRegistry, Text } from 'react-native'
// class captain extends Component {
// render() {
// return <Text>Hello world!</Text>
// }
// }
// AppRegistry.registerComponent('captain', () => captain)