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_patch_hash=264e3b1766bd6c68d737cc5a0462f4d031997ddce4982d95ed9fbbc91906b77e/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.