1 | import type { ParamListBase } from '@react-navigation/routers';
|
2 | import * as React from 'react';
|
3 |
|
4 | import type { NavigationContainerRef } from './types';
|
5 |
|
6 | /**
|
7 | * Context which holds the route prop for a screen.
|
8 | */
|
9 | const NavigationContainerRefContext = React.createContext<
|
10 | NavigationContainerRef<ParamListBase> | undefined
|
11 | >(undefined);
|
12 |
|
13 | export default NavigationContainerRefContext;
|