From 651c1d2cf54a4c730a320797a70f83d42667b3d0 Mon Sep 17 00:00:00 2001 From: Tim Yung Date: Mon, 13 May 2024 08:46:23 -0700 Subject: [PATCH] RN: Cleanup Comment Reference to Navigator (#44542) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44542 React Native no longer has a `Navigator` component, so let's clean up this reference in a comment in the `StatusBar` component definition. Changelog: [General][Changed] - Obsolete comments referencing Navigator Reviewed By: GijsWeterings Differential Revision: D57251899 fbshipit-source-id: bf2923bcaf22daf525381efbc3577c3610afaec4 --- .../Components/StatusBar/StatusBar.js | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/packages/react-native/Libraries/Components/StatusBar/StatusBar.js b/packages/react-native/Libraries/Components/StatusBar/StatusBar.js index 2ac3d1f6b09..20c2cf49d9f 100644 --- a/packages/react-native/Libraries/Components/StatusBar/StatusBar.js +++ b/packages/react-native/Libraries/Components/StatusBar/StatusBar.js @@ -163,29 +163,9 @@ function createStackEntry(props: any): any { /** * Component to control the app status bar. * - * ### Usage with Navigator - * * It is possible to have multiple `StatusBar` components mounted at the same * time. The props will be merged in the order the `StatusBar` components were - * mounted. One use case is to specify status bar styles per route using `Navigator`. - * - * ``` - * - * - * - * - * - * } - * /> - * - * ``` + * mounted. * * ### Imperative API *