Skip to content
Permalink
Browse files

Undeprecate StatusBar (#24860)

Summary:
There has been push back to remove this module from React Native. Since it is contentious, let's revert the deprecation and table this conversation until later.

## Changelog

[General] [Changed] - Undeprecate StatusBar for now.
Pull Request resolved: #24860

Differential Revision: D15351835

Pulled By: cpojer

fbshipit-source-id: 2f40f3a8f17ab7631bf5441cd6528b04103e7821
  • Loading branch information...
cpojer authored and facebook-github-bot committed May 15, 2019
1 parent a2707ac commit a203ebe2062b3c12f85783f46030971f3aa5db1d
Showing with 0 additions and 6 deletions.
  1. +0 −6 Libraries/react-native/react-native-implementation.js
@@ -129,12 +129,6 @@ module.exports = {
return require('RefreshControl');
},
get StatusBar() {
warnOnce(
'statusbar-moved',
'StatusBar has been extracted from react-native core and will be removed in a future release. ' +
"It can now be installed and imported from '@react-native-community/status-bar' instead of 'react-native'. " +
'https://github.com/react-native-community/react-native-statusbar',
);
return require('StatusBar');
},
get Text() {

0 comments on commit a203ebe

Please sign in to comment.
You can’t perform that action at this time.