expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
17 lines (16 loc) • 416 B
TypeScript
import * as React from 'react';
export type FocusedRouteState = {
routes: [
{
key?: string;
name: string;
params?: object;
path?: string;
state?: FocusedRouteState;
}
];
};
/**
* Context for the parent route of a navigator.
*/
export declare const NavigationFocusedRouteStateContext: React.Context<FocusedRouteState | undefined>;