API Reference / @gtkx/navigation / StackNavigationOptions
Type Alias: StackNavigationOptions
StackNavigationOptions =
HeaderOptions&object
Defined in: packages/navigation/dist/stack/types.d.ts:28
Per-screen options of the stack navigator.
Type Declaration
animation?
optionalanimation?:"default"|"none"
Whether pushing and popping this page animates; defaults to "default".
canPop?
optionalcanPop?:boolean
Whether the user can pop this page with the back button, Escape, Alt+Left or a swipe; defaults to true.
header?
optionalheader?: (props) =>ReactNode
Renders a custom top bar instead of the default AdwHeaderBar.
Parameters
props
Returns
ReactNode
headerBackVisible?
optionalheaderBackVisible?:boolean
Whether the default header bar shows Adwaita's back button; defaults to true.