Skip to content

API Reference / @gtkx/navigation / createComponentForStaticNavigation

Function: createComponentForStaticNavigation() ​

createComponentForStaticNavigation(tree): ComponentType<{ }>

Create a component that renders a navigator based on the static configuration.

Parameters ​

tree ​

StaticNavigation<any, any, any>

Returns ​

ComponentType<{ }>

Deprecated ​

Use tree.getComponent() instead.