react-native
Version:
A framework for building native apps using React
25 lines (23 loc) • 1.16 kB
TypeScript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<18a1d6a397821f0161f79e752233ff53>>
*
* This file was translated from Flow by scripts/js-api/build-types/index.js.
* Original file: packages/react-native/Libraries/EventEmitter/RCTNativeAppEventEmitter.js
*/
import RCTDeviceEventEmitter from "./RCTDeviceEventEmitter";
declare const RCTNativeAppEventEmitter: typeof RCTDeviceEventEmitter;
/**
* Receive events from native-code
* Deprecated - subclass NativeEventEmitter to create granular event modules instead of
* adding all event listeners directly to RCTNativeAppEventEmitter.
* @see https://github.com/facebook/react-native/blob/0.34-stable\Libraries\EventEmitter\RCTNativeAppEventEmitter.js
* @see https://reactnative.dev/docs/native-modules-ios#sending-events-to-javascript
*/
declare const $$RCTNativeAppEventEmitter: typeof RCTNativeAppEventEmitter;
declare type $$RCTNativeAppEventEmitter = typeof $$RCTNativeAppEventEmitter;
export default $$RCTNativeAppEventEmitter;