Skip to content

API Reference / @gtkx/navigation / Route

Type Alias: Route<RouteName, Params>

Route<RouteName, Params> = Readonly<{ key: string; name: RouteName; path?: string; }> & undefined extends Params ? Readonly<{ params?: Readonly<Params>; }> : Readonly<{ params: Readonly<Params>; }>

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

Type Parameters

RouteName

RouteName extends string

Params

Params extends object | undefined = object | undefined

Released under the MPL-2.0 License.