Skip to content

API Reference / @gtkx/navigation / RouterFactory

Type Alias: RouterFactory<State, Action, RouterOptions> ​

RouterFactory<State, Action, RouterOptions> = (options) => Router<State, Action>

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:105

Type Parameters ​

State ​

State extends NavigationState

Action ​

Action extends NavigationAction

RouterOptions ​

RouterOptions extends DefaultRouterOptions

Parameters ​

options ​

RouterOptions

Returns ​

Router<State, Action>