verdnatura-chat/app/lib/ShareNavigation.ts

11 lines
311 B
TypeScript
Raw Normal View History

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
};