mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Prettier the rest of ReactNative
Reviewed By: yungsters Differential Revision: D7974340 fbshipit-source-id: 5fe457a8a9be4bd360fc3af9acb5c1136b2be0d7
This commit is contained in:
1 parent
aba4ec0c09
commit
36fcbaa56d
170 files changed
+5132
-3995
No files matched your search
@@ -4,6 +4,7 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -16,7 +17,7 @@ var View = require('View');
|
||||
|
||||
class ShareTestApp extends React.Component {
|
||||
render() {
|
||||
return (<View />);
|
||||
return <View />;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,14 +26,11 @@ var ShareTestModule = {
|
||||
showShareDialog: function(content, options) {
|
||||
Share.share(content, options).then(
|
||||
() => RecordingModule.recordOpened(),
|
||||
({code, message}) => RecordingModule.recordError()
|
||||
({code, message}) => RecordingModule.recordError(),
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
BatchedBridge.registerCallableModule(
|
||||
'ShareTestModule',
|
||||
ShareTestModule
|
||||
);
|
||||
BatchedBridge.registerCallableModule('ShareTestModule', ShareTestModule);
|
||||
|
||||
module.exports = ShareTestModule;
|
||||
Reference in new issue
Block a user