How to use the @react-navigation/core.NavigationContext function in @react-navigation/core

To help you get started, we’ve selected a few @react-navigation/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github react-navigation / hooks / dist / Hooks.js View on Github external
function useNavigation() {
    return react_1.useContext(core_1.NavigationContext);
exports.useNavigation = useNavigation;