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/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>

Released under the MPL-2.0 License.