UNPKG

@react-navigation/core

Version:

Core utilities for building navigators

8 lines 386 B
/** * Hook to get a minimal state representation for the current route. * The returned state can be used with `getPathFromState` to build a path. * * @returns Minimal state to build a path for the current route. */ export declare function useStateForPath(): import("./NavigationFocusedRouteStateContext").FocusedRouteState | undefined; //# sourceMappingURL=useStateForPath.d.ts.map