one
Version:
One is a new React Framework that makes Vite serve both native and web.
9 lines • 527 B
TypeScript
import { type NavigationProp, type 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