Skip to content

Instantly share code, notes, and snippets.

@knewter
Forked from billyboozer/Comments.md
Last active June 15, 2016 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knewter/bb4f7b48c6343601e40cb5333095243f to your computer and use it in GitHub Desktop.
Save knewter/bb4f7b48c6343601e40cb5333095243f to your computer and use it in GitHub Desktop.
Issue with compiling react native
var React = require('react');
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
class flyby extends React.Component{
render() {
return (
<View>
<Text>
This is the root Component
</Text>
</View>
);
}
}
AppRegistry.registerComponent('flyby', () => flyby);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment