@react-navigation/core
Version:
Core utilities for building navigators
9 lines • 339 B
TypeScript
import type { ParamListBase } from '@react-navigation/routers';
import type { RouteProp } from './types';
/**
* Hook to access the route prop of the parent screen anywhere.
*
* @returns Route prop of the parent screen.
*/
export declare function useRoute<T extends RouteProp<ParamListBase>>(): T;
//# sourceMappingURL=useRoute.d.ts.map