Created
March 5, 2020 17:21
-
-
Save bogoslavskiy/7ff0de5062aa62086bdefb34d7b3bc5c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { StackNavigationProp } from '@react-navigation/stack'; | |
import { RouteProp } from '@react-navigation/native'; | |
export type MainStackParams = { | |
Conversation: undefined; | |
}; | |
export type MainNavProps<T extends keyof MainStackParams> = { | |
navigation: StackNavigationProp<MainStackParams, T>; | |
route: RouteProp<MainStackParams, T>; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment