UNPKG

expo-router

Version:

Expo Router is a file-based router for React Native and web applications.

5 lines (4 loc) • 336 B
import type { NavigationState, PartialState } from '../routers'; export declare const CanGoBackContext: import("react").Context<boolean | undefined>; export declare function hasBackTarget(state: NavigationState | PartialState<NavigationState>): boolean; export declare function getFocusedCanGoBack(rootState: NavigationState): boolean;