mirror of
https://github.com/facebook/react.git
synced 2026-02-25 22:45:00 +00:00
21 lines
493 B
JavaScript
21 lines
493 B
JavaScript
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
import './ReactNativeInjectionShared';
|
|
|
|
import * as ReactNativeEventEmitter from './ReactNativeEventEmitter';
|
|
|
|
// Module provided by RN:
|
|
import RCTEventEmitter from 'RCTEventEmitter';
|
|
|
|
/**
|
|
* Register the event emitter with the native bridge
|
|
*/
|
|
RCTEventEmitter.register(ReactNativeEventEmitter);
|