Skip to content

Instantly share code, notes, and snippets.

@brentvatne
Created March 27, 2015 17:23
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 brentvatne/f745377b0789162a28df to your computer and use it in GitHub Desktop.
Save brentvatne/f745377b0789162a28df to your computer and use it in GitHub Desktop.
'use strict';
var React = require('react-native');
var {
AppRegistry,
StyleSheet,
Text,
View,
TouchableHighlight,
Image,
PixelRatio
} = React;
var Demo = React.createClass({
render() {
return (
<Image source={{uri:"https://raw.githubusercontent.com/brentvatne/react-native-facebook-login/master/demo.gif"}} style={styles.image} />
);
}
});
var styles = StyleSheet.create({
image: {
flex: 1,
},
});
AppRegistry.registerComponent('Demo', () => Demo);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment