API Reference / @gtkx/navigation / createNavigatorFactory
Function: createNavigatorFactory()
createNavigatorFactory(
Navigator): (config?) =>any
Higher order component to create a Navigator and Screen pair. Custom navigators should wrap the navigator component in createNavigator before exporting.
Parameters
Navigator
ComponentType<any>
The navigator component to wrap.
Returns
Factory method to create a Navigator and Screen pair.
(config?) => any