mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
4a1820dbdf
Summary: Upgrades `require` expressions of `NativeEventEmitter` and `RCTDeviceEventEmitter` to `import`. Changelog: [Internal] Reviewed By: cpojer Differential Revision: D22203919 fbshipit-source-id: 4fdf01b66ba0501d0e0714931923531c97d29be2
22 lines
567 B
JavaScript
22 lines
567 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 strict-local
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
import NativeEventEmitter from '../../EventEmitter/NativeEventEmitter';
|
|
import NativeStatusBarManagerIOS from './NativeStatusBarManagerIOS';
|
|
|
|
/**
|
|
* Use `StatusBar` for mutating the status bar.
|
|
*/
|
|
class StatusBarIOS extends NativeEventEmitter {}
|
|
|
|
module.exports = (new StatusBarIOS(NativeStatusBarManagerIOS): StatusBarIOS);
|