Skip to content

API Reference / @gtkx/navigation / createComponentForStaticNavigation

Function: createComponentForStaticNavigation() ​

createComponentForStaticNavigation(tree): ComponentType<{ }>

Defined in: node_modules/.pnpm/@react-navigation+core@7.21.13_patch_hash=6462da01ed23beee88f01d290d3714743e43d2fd84235198fcbe09501a61d1d4_react@19.2.8/node_modules/@react-navigation/core/lib/typescript/src/StaticNavigation.d.ts:167

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.