mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-06 17:34:07 +08:00
fix es6 class method
Reviewed By: svcscm Differential Revision: D2938099 fb-gh-sync-id: 1148fdb96ec36a72db6ac4562b12b07ca2fc0af6 shipit-source-id: 1148fdb96ec36a72db6ac4562b12b07ca2fc0af6
This commit is contained in:
committed by
facebook-github-bot-4
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>
|
||||
|
||||
Reference in New Issue
Block a user