Skip to content

Commit

Permalink
Undeprecate StatusBar (#24860)
Browse files Browse the repository at this point in the history
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 a203ebe
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Libraries/react-native/react-native-implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

1 comment on commit a203ebe

@imrahulpatel
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NICE, IT'S GREAT, THANK YOU FRO YOUR CONTRIBUTION

Please sign in to comment.