UNPKG

@embrace-io/react-navigation

Version:

This is used to track React Native screens with the Embrace SDK

9 lines (8 loc) 501 B
import { IHistory, INavigationState } from "./interfaces/NavigationInterfaces"; /** * This method loops into the Navigation history state and returns the whole history sorted * @param navigationState This Object is the current Navigation State * @param historyName This array stores the founded active Screens * @returns Returns an Array with the whole navigation History */ export declare const findNavigationHistory: (navigationState: INavigationState, historyName?: IHistory[]) => IHistory[];