Created
February 12, 2016 02:18
-
-
Save spencercarli/ebf024c6ccb525dfa0cc to your computer and use it in GitHub Desktop.
Easily Connect React Native to a Meteor Server - Setting up the React Native App - index.android.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { | |
AppRegistry, | |
Component | |
} from 'react-native'; | |
import App from './app'; | |
class RNApp extends Component { | |
render() { | |
return <App />; | |
} | |
} | |
AppRegistry.registerComponent('RNApp', () => RNApp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment