create-expo-cljs-app
Version:
Create a react native application with Expo and Shadow-CLJS!
24 lines (20 loc) • 559 B
JavaScript
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
;
import EventEmitter from '../../vendor/emitter/EventEmitter';
import RCTDeviceEventEmitter from '../RCTDeviceEventEmitter';
/**
* Mock the NativeEventEmitter as a normal JS EventEmitter.
*/
export default class NativeEventEmitter extends EventEmitter {
constructor() {
super(RCTDeviceEventEmitter.sharedSubscriber);
}
}