mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
Add documentation for useNativeAnimations option in DrawerNavigator (#2593)
This commit is contained in:
committed by
Spencer Carli
parent
b7768d12e6
commit
73cf08744e
@@ -92,6 +92,7 @@ The route configs object is a mapping from route name to a route config, which t
|
||||
- `drawerPosition` - Options are `left` or `right`. Default is `left` position.
|
||||
- `contentComponent` - Component used to render the content of the drawer, for example, navigation items. Receives the `navigation` prop for the drawer. Defaults to `DrawerItems`. For more information, see below.
|
||||
- `contentOptions` - Configure the drawer content, see below.
|
||||
- `useNativeAnimations` - Enable native animations. Default is `true`.
|
||||
|
||||
#### Example:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user