Don't use local alias in react-native-implementation

Summary: Nuclide's export detection for modules doesn't resolve local aliases. Lets just export the object directly.

Reviewed By: mostafaeweda

Differential Revision: D10443054

fbshipit-source-id: 880aa1eadff554903eb765d7104ecf3c3b72cbce
This commit is contained in:
Eli White 2018-10-17 22:17:01 -07:00 committed by Facebook Github Bot
parent d6c8f189e7
commit c95fdb0505
1 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,7 @@ const invariant = require('fbjs/lib/invariant');
let showedListViewDeprecation = false;
// Export React, plus some native additions.
const ReactNative = {
module.exports = {
// Components
get AccessibilityInfo() {
return require('AccessibilityInfo');
@ -340,5 +340,3 @@ const ReactNative = {
);
},
};
module.exports = ReactNative;