12 lines
312 B
TypeScript
12 lines
312 B
TypeScript
|
import * as React from 'react';
|
||
|
import { NavigationContainerRef } from '@react-navigation/native';
|
||
|
|
||
|
|
||
|
const navigationRef = React.createRef<NavigationContainerRef>();
|
||
|
const routeNameRef: React.MutableRefObject<NavigationContainerRef | null> = React.createRef();
|
||
|
|
||
|
export default {
|
||
|
navigationRef,
|
||
|
routeNameRef
|
||
|
};
|