Created
March 5, 2020 17:21
-
-
Save bogoslavskiy/e181894afdf367ddfcedc16904d43aaa 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 AuthStackParams = { | |
Login: undefined; | |
}; | |
export type AuthNavProps<T extends keyof AuthStackParams> = { | |
navigation: StackNavigationProp<AuthStackParams, T>; | |
route: RouteProp<AuthStackParams, T>; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment