mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-01-12 22:51:18 +08:00
chore: show header in drawer by default
This commit is contained in:
@@ -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" />
|
||||
),
|
||||
|
||||
@@ -174,7 +174,7 @@ export default function DrawerView({
|
||||
|
||||
const {
|
||||
header = (props: DrawerHeaderProps) => <Header {...props} />,
|
||||
headerShown,
|
||||
headerShown = true,
|
||||
} = descriptor.options;
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user