tooot/src/utils/navigation/navigationRef.ts

7 lines
242 B
TypeScript
Raw Normal View History

2021-08-29 15:25:38 +02:00
import { createNavigationContainerRef } from '@react-navigation/native'
import { RootStackParamList } from '@utils/navigation/navigators'
2021-05-12 15:40:55 +02:00
2021-08-29 15:25:38 +02:00
const navigationRef = createNavigationContainerRef<RootStackParamList>()
2021-05-12 15:40:55 +02:00
export default navigationRef