Skip to content

Commit a203ebe

Browse files
cpojerfacebook-github-bot
authored andcommitted
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
1 parent a2707ac commit a203ebe

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Libraries/react-native/react-native-implementation.js

-6
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,6 @@ module.exports = {
129129
return require('RefreshControl');
130130
},
131131
get StatusBar() {
132-
warnOnce(
133-
'statusbar-moved',
134-
'StatusBar has been extracted from react-native core and will be removed in a future release. ' +
135-
"It can now be installed and imported from '@react-native-community/status-bar' instead of 'react-native'. " +
136-
'https://github.com/react-native-community/react-native-statusbar',
137-
);
138132
return require('StatusBar');
139133
},
140134
get Text() {

0 commit comments

Comments
 (0)