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.