fix es6 class method

Reviewed By: svcscm

Differential Revision: D2938099

fb-gh-sync-id: 1148fdb96ec36a72db6ac4562b12b07ca2fc0af6
shipit-source-id: 1148fdb96ec36a72db6ac4562b12b07ca2fc0af6
This commit is contained in:
sunnylqm 2016-02-15 14:54:49 -08:00 committed by facebook-github-bot-4
parent 14ec6f011e
commit 480f7cd348
1 changed files with 2 additions and 2 deletions

View File

@ -45,11 +45,11 @@ import React, {
} from 'react-native';
class ImageBrowserApp extends React.Component {
renderImage: function(imgURI) {
renderImage(imgURI) {
return (
<Image source={{uri: imgURI}} />
);
},
}
render() {
return (
<View>