Skip to content

API Reference / @gtkx/navigation / NavigationMetaContext

Variable: NavigationMetaContext

const NavigationMetaContext: React.Context<object | undefined>

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

Context with additional metadata to pass to child navigator in a screen. For example, child native stack to know it's inside native tabs. So it doesn't implement features such as popToTop that are handled by native tabs.

Consumers should not make any assumptions about the shape of the object. It can be different depending on the navigator and may change without notice. This is not intended to be used by application code.

Released under the MPL-2.0 License.