Skip to content

API Reference / @gtkx/navigation / DrawerNavigationState

Type Alias: DrawerNavigationState<ParamList>

DrawerNavigationState<ParamList> = Omit<TabNavigationState<ParamList>, "type" | "history"> & object

Defined in: node_modules/.pnpm/@react-navigation+routers@7.6.4/node_modules/@react-navigation/routers/lib/typescript/src/DrawerRouter.d.ts:12

Type Declaration

default

default: DrawerStatus

Default status of the drawer.

history

history: ({ key: string; params?: object; type: "route"; } | { status: DrawerStatus; type: "drawer"; })[]

List of previously visited route keys and drawer open status.

type

type: "drawer"

Type of the router, in this case, it's drawer.

Type Parameters

ParamList

ParamList extends ParamListBase

Released under the MPL-2.0 License.