[ReactNative] Add NativeModules and DeviceEventEmitter to react-native exports
This commit is contained in:
parent
48cc440bd3
commit
e4990939e4
|
@ -50,6 +50,10 @@ var ReactNative = Object.assign(Object.create(require('React')), {
|
|||
TimerMixin: require('TimerMixin'),
|
||||
VibrationIOS: require('VibrationIOS'),
|
||||
|
||||
// Plugins
|
||||
DeviceEventEmitter: require('RCTDeviceEventEmitter'),
|
||||
NativeModules: require('NativeModules'),
|
||||
|
||||
addons: {
|
||||
batchedUpdates: require('ReactUpdates').batchedUpdates,
|
||||
LinkedStateMixin: require('LinkedStateMixin'),
|
||||
|
|
Loading…
Reference in New Issue