chore: show header in drawer by default

This commit is contained in:
Satyajit Sahoo
2020-11-09 19:36:36 +01:00
parent 6ac4d40140
commit 7bc385e4f3
2 changed files with 1 additions and 2 deletions

View File

@@ -296,7 +296,6 @@ export default function App() {
name="Examples"
options={{
title: 'Examples',
headerShown: true,
drawerIcon: ({ size, color }) => (
<MaterialIcons size={size} color={color} name="folder" />
),

View File

@@ -174,7 +174,7 @@ export default function DrawerView({
const {
header = (props: DrawerHeaderProps) => <Header {...props} />,
headerShown,
headerShown = true,
} = descriptor.options;
return (