UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

9 lines • 531 B
import { type NavigationProp, type NavigationState, type ParamListBase } from '@react-navigation/native'; type GenericNavigation = NavigationProp<ParamListBase> & { 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