UNPKG

expo-router

Version:

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

9 lines 517 B
import { NavigationProp, NavigationState } from '@react-navigation/native'; type GenericNavigation = NavigationProp<ReactNavigation.RootParamList> & { getState(): NavigationState | undefined; }; /** Returns a callback which is invoked when the navigation state has loaded. */ export declare function useLoadedNavigation(): (fn: (navigation: GenericNavigation) => void) => void; export declare function useOptionalNavigation(): GenericNavigation | null; export {}; //# sourceMappingURL=useLoadedNavigation.d.ts.map