Last active
April 12, 2016 23:22
-
-
Save chuck0523/bd3851ee98872ffe0c3c9a14868a61a1 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
class MyFirstApp extends Component { | |
render() { | |
var movie = MOCKED_MOVIES_DATA[0]; | |
return ( | |
<View style={styles.container}> | |
<Text>{movie.title}</Text> | |
<Text>{movie.year}</Text> | |
<Image | |
source={{uri: movie.posters.thumbnail}} | |
style={styles.thumbnail} | |
/> | |
</View> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment