Skip to content

Instantly share code, notes, and snippets.

@chuck0523 chuck0523/render-movie.js
Last active Apr 12, 2016

Embed
What would you like to do?
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
You can’t perform that action at this time.