Skip to content

Commit

Permalink
chore: show header in drawer by default
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Nov 9, 2020
1 parent 6ac4d40 commit 7bc385e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion example/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
),
Expand Down
2 changes: 1 addition & 1 deletion packages/drawer/src/views/DrawerView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export default function DrawerView({

const {
header = (props: DrawerHeaderProps) => <Header {...props} />,
headerShown,
headerShown = true,
} = descriptor.options;

return (
Expand Down

0 comments on commit 7bc385e

Please sign in to comment.