UNPKG

339 BTypeScriptView Raw
1import type { ParamListBase } from '@react-navigation/routers';
2import type { RouteProp } from './types';
3/**
4 * Hook to access the route prop of the parent screen anywhere.
5 *
6 * @returns Route prop of the parent screen.
7 */
8export default function useRoute<T extends RouteProp<ParamListBase>>(): T;
9//# sourceMappingURL=useRoute.d.ts.map
\No newline at end of file