Skip to content

API Reference / @gtkx/navigation / createNavigatorFactory

Function: createNavigatorFactory()

createNavigatorFactory(Navigator): (config?) => any

Defined in: node_modules/.pnpm/@react-navigation+core@7.21.13_react@19.2.8/node_modules/@react-navigation/core/lib/typescript/src/createNavigatorFactory.d.ts:9

Higher order component to create a Navigator and Screen pair. Custom navigators should wrap the navigator component in createNavigator before exporting.

Parameters

ComponentType<any>

The navigator component to wrap.

Returns

Factory method to create a Navigator and Screen pair.

(config?) => any

Released under the MPL-2.0 License.