From d74f042b8d0487eeb9d8fd87f64cbc736c41bbf4 Mon Sep 17 00:00:00 2001 From: D N <4661784+retyui@users.noreply.github.com> Date: Thu, 10 Sep 2026 14:46:23 +0200 Subject: [PATCH] feat: Deprecate DrawerLayoutAndroid commit: https://github.com/react/react-native/commit/5c5e6cd8ce0bfb9c69ac39a1823872fc8eb8c40e --- docs/drawerlayoutandroid.md | 6 +++++- website/versioned_docs/version-0.87/drawerlayoutandroid.md | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/drawerlayoutandroid.md b/docs/drawerlayoutandroid.md index 8d4210edaf0..402c3c4b314 100644 --- a/docs/drawerlayoutandroid.md +++ b/docs/drawerlayoutandroid.md @@ -1,8 +1,12 @@ --- id: drawerlayoutandroid -title: DrawerLayoutAndroid +title: '🗑️ DrawerLayoutAndroid' --- +:::warning[Deprecated] +Use [`react-native-drawer-layout`](https://reactnavigation.org/docs/drawer-layout/) instead. +::: + import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants'; React component that wraps the platform `DrawerLayout` (Android only). The Drawer (typically used for navigation) is rendered with `renderNavigationView` and direct children are the main view (where your content goes). The navigation view is initially not visible on the screen, but can be pulled in from the side of the window specified by the `drawerPosition` prop and its width can be set by the `drawerWidth` prop. diff --git a/website/versioned_docs/version-0.87/drawerlayoutandroid.md b/website/versioned_docs/version-0.87/drawerlayoutandroid.md index 8d4210edaf0..402c3c4b314 100644 --- a/website/versioned_docs/version-0.87/drawerlayoutandroid.md +++ b/website/versioned_docs/version-0.87/drawerlayoutandroid.md @@ -1,8 +1,12 @@ --- id: drawerlayoutandroid -title: DrawerLayoutAndroid +title: '🗑️ DrawerLayoutAndroid' --- +:::warning[Deprecated] +Use [`react-native-drawer-layout`](https://reactnavigation.org/docs/drawer-layout/) instead. +::: + import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants'; React component that wraps the platform `DrawerLayout` (Android only). The Drawer (typically used for navigation) is rendered with `renderNavigationView` and direct children are the main view (where your content goes). The navigation view is initially not visible on the screen, but can be pulled in from the side of the window specified by the `drawerPosition` prop and its width can be set by the `drawerWidth` prop.