From 6e3a43c6c4ea36d83cbec34672635a470ba3aaa4 Mon Sep 17 00:00:00 2001 From: G Date: Sat, 27 Apr 2024 23:24:45 +0000 Subject: [PATCH] add types for navigation system when user is yet to be logged in. --- src/navigations/Types.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/navigations/Types.ts b/src/navigations/Types.ts index 084a994..ee2a930 100644 --- a/src/navigations/Types.ts +++ b/src/navigations/Types.ts @@ -4,6 +4,8 @@ export type PaymentStackParamList = { homePageWithPaymentOptions: undefined; numberAndOtpForPaymentScreen: undefined; paymentAmountInputScreen: undefined; + homeUserNotLoggedIn: undefined; + userLoginScreen: undefined; }; export type PaymentStackScreenProps = NativeStackScreenProps< @@ -15,3 +17,15 @@ export type PaymentStackScreenProps = Nat export type PaymentStackScreenComponentProps = React.FC< PaymentStackScreenProps >; + +export type UnloggedUserStackParamList = { + homeUserNotLoggedIn: undefined; + userLoginScreen: undefined; + bottomTabs: undefined; +}; + +export type UnloggedUserStackScreenProps = + NativeStackScreenProps; + +export type UnloggedUserStackScreenComponentProps = + React.FC>; -- libgit2 0.27.1