21 lines
515 B
JavaScript
21 lines
515 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.
|
|
*
|
|
* @providesModule StatusBarIOS
|
|
* @flow
|
|
*/
|
|
'use strict';
|
|
|
|
const NativeEventEmitter = require('NativeEventEmitter');
|
|
const { StatusBarManager } = require('NativeModules');
|
|
|
|
/**
|
|
* Use `StatusBar` for mutating the status bar.
|
|
*/
|
|
class StatusBarIOS extends NativeEventEmitter {}
|
|
|
|
module.exports = new StatusBarIOS(StatusBarManager);
|