refactor: drop openByDefault in favor of defaultStatus prop

This commit is contained in:
Satyajit Sahoo
2021-05-21 14:39:15 +02:00
parent 3d147401e8
commit 6dc5364089
3 changed files with 8 additions and 8 deletions

View File

@@ -122,7 +122,7 @@ export default function DrawerScreen({ navigation, ...rest }: Props) {
return (
<Drawer.Navigator
openByDefault
defaultStatus="open"
drawerContent={(props) => <CustomDrawerContent {...props} />}
screenOptions={{
headerShown: false,