API Reference / @gtkx/navigation / DrawerNavigationOptions
Type Alias: DrawerNavigationOptions
DrawerNavigationOptions =
HeaderOptions&object
Defined in: packages/navigation/dist/drawer/types.d.ts:15
Per-screen options of the drawer navigator.
Type Declaration
drawerIcon?
optionaldrawerIcon?:string
Icon name shown next to the sidebar label.
drawerLabel?
optionaldrawerLabel?:string
Label shown in the sidebar; defaults to title, then to the route name.
header?
optionalheader?: (props) =>ReactNode
Renders a custom top bar instead of the default AdwHeaderBar.
Parameters
props
Returns
ReactNode
lazy?
optionallazy?:boolean
Whether the screen mounts on first focus instead of at startup; defaults to true.
popToTopOnBlur?
optionalpopToTopOnBlur?:boolean
Whether a nested stack pops to its first screen when this screen loses focus; defaults to false.