fix es6 class method
Reviewed By: svcscm Differential Revision: D2938099 fb-gh-sync-id: 1148fdb96ec36a72db6ac4562b12b07ca2fc0af6 shipit-source-id: 1148fdb96ec36a72db6ac4562b12b07ca2fc0af6
This commit is contained in:
parent
14ec6f011e
commit
480f7cd348
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue