mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
refactor: drop openByDefault in favor of defaultStatus prop
This commit is contained in:
@@ -122,7 +122,7 @@ export default function DrawerScreen({ navigation, ...rest }: Props) {
|
||||
|
||||
return (
|
||||
<Drawer.Navigator
|
||||
openByDefault
|
||||
defaultStatus="open"
|
||||
drawerContent={(props) => <CustomDrawerContent {...props} />}
|
||||
screenOptions={{
|
||||
headerShown: false,
|
||||
|
||||
Reference in New Issue
Block a user