Skip to content

API Reference / @gtkx/navigation / NavigationRoute

Type Alias: NavigationRoute<ParamList, RouteName>

NavigationRoute<ParamList, RouteName> = Route<Extract<RouteName, string>, ParamList[RouteName]> & object

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

Type Declaration

state?

optional state?: NavigationState | PartialState<NavigationState>

Type Parameters

ParamList

ParamList extends ParamListBase

RouteName

RouteName extends keyof ParamList

Released under the MPL-2.0 License.