Skip to content

Commit d74f042

Browse files
committed
feat: Deprecate DrawerLayoutAndroid
commit: react/react-native@5c5e6cd
1 parent 5b7c6f1 commit d74f042

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

docs/drawerlayoutandroid.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
---
22
id: drawerlayoutandroid
3-
title: DrawerLayoutAndroid
3+
title: '🗑️ DrawerLayoutAndroid'
44
---
55

6+
:::warning[Deprecated]
7+
Use [`react-native-drawer-layout`](https://reactnavigation.org/docs/drawer-layout/) instead.
8+
:::
9+
610
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants';
711

812
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.

website/versioned_docs/version-0.87/drawerlayoutandroid.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
---
22
id: drawerlayoutandroid
3-
title: DrawerLayoutAndroid
3+
title: '🗑️ DrawerLayoutAndroid'
44
---
55

6+
:::warning[Deprecated]
7+
Use [`react-native-drawer-layout`](https://reactnavigation.org/docs/drawer-layout/) instead.
8+
:::
9+
610
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants';
711

812
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.

0 commit comments

Comments
 (0)