From e79dedadfb0e25b57f299f256f4b8acf29a86cac Mon Sep 17 00:00:00 2001 From: G Date: Wed, 8 May 2024 15:13:48 +0000 Subject: [PATCH] paymentAmount screen may require a payment type to display the correct logo on the page --- src/navigations/Types.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/navigations/Types.ts b/src/navigations/Types.ts index ee2a930..87edab8 100644 --- a/src/navigations/Types.ts +++ b/src/navigations/Types.ts @@ -1,9 +1,12 @@ +import type { PaymentCode } from "@/utils/requests/Types"; import type { NativeStackScreenProps } from "@react-navigation/native-stack"; export type PaymentStackParamList = { homePageWithPaymentOptions: undefined; numberAndOtpForPaymentScreen: undefined; - paymentAmountInputScreen: undefined; + paymentAmountInputScreen: { + paymentType: PaymentCode; + }; homeUserNotLoggedIn: undefined; userLoginScreen: undefined; }; -- libgit2 0.27.1