-
-
Save brentvatne/f745377b0789162a28df to your computer and use it in GitHub Desktop.
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
'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