Skip to content

API Reference / @gtkx/navigation / createStaticNavigation

Function: createStaticNavigation()

createStaticNavigation(tree): ComponentType<StaticNavigationProps>

Defined in: packages/navigation/dist/static-navigation.d.ts:11

Turns a static navigator config into a root component: a NavigationContainer around the tree.

Parameters

tree

StaticNavigationTree

Returns

ComponentType<StaticNavigationProps>

Released under the MPL-2.0 License.