[fix] add UIManager to NativeModules

This commit is contained in:
Nicolas Gallagher
2018-06-04 10:24:35 -07:00
parent c3eedabac4
commit bfaca0557b
2 changed files with 19 additions and 2 deletions
@@ -1,3 +1,17 @@
/**
* Copyright (c) 2016-present, Nicolas Gallagher.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @noflow
*/
import UIManager from '../UIManager';
// NativeModules shim
const NativeModules = {};
const NativeModules = {
UIManager
};
export default NativeModules;
+4 -1
View File
@@ -97,7 +97,10 @@ const UIManager = {
configureNextLayoutAnimation(config, onAnimationDidEnd) {
onAnimationDidEnd();
}
},
// mocks
setLayoutAnimationEnabledExperimental() {}
};
export default UIManager;