Skip to content

API Reference / @gtkx/navigation / HeaderOptions

Type Alias: HeaderOptions ​

HeaderOptions = object

Defined in: packages/navigation/src/shared/types.ts:4

Header options shared by every navigator.

Properties ​

headerEnd? ​

optional headerEnd?: ReactNode

Defined in: packages/navigation/src/shared/types.ts:14

Widgets packed at the end of the header bar.


headerShown? ​

optional headerShown?: boolean

Defined in: packages/navigation/src/shared/types.ts:8

Whether to render a header bar above the screen; defaults to true.


headerStart? ​

optional headerStart?: ReactNode

Defined in: packages/navigation/src/shared/types.ts:12

Widgets packed at the start of the header bar.


headerTitle? ​

optional headerTitle?: string | ReactElement

Defined in: packages/navigation/src/shared/types.ts:10

Replaces the header bar title: a string becomes an AdwWindowTitle, an element is used as the title widget.


title? ​

optional title?: string

Defined in: packages/navigation/src/shared/types.ts:6

Title of the screen, shown in the header bar; defaults to the route name.