import { NavigationContext } from "../models" ; import { useFireCMSContext } from "./useFireCMSContext" ; /**
 * Use this hook to get the navigation of the app.
 * Note that if can be undefined if the navigation has not yet been
 * resolved (you used a  NavigationBuilder and the user is not
 * authenticated.
 *
 *  category export function useNavigation ( ) { const context = useFireCMSContext ( ) ; return context . navigationContext ; }