aboutsummaryrefslogtreecommitdiff
path: root/src/routes/onboarding/OnboardingStack.tsx
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2020-12-08 20:19:32 -0800
committerGitHub <noreply@github.com>2020-12-08 23:19:32 -0500
commitdb575615046544e83759a3615f37540305aa9742 (patch)
treef30a29f47420990872c9baede4978582cea0b607 /src/routes/onboarding/OnboardingStack.tsx
parent0cb19c5b173d4cf6ba67378cbffd61abac7f18c3 (diff)
[TMA-308] Forgot password logic [Frontend] (#131)
* Done with changes * Submit on enter * Fixed StrongPassword issue * Clean and modular Verification.tsx * small fix
Diffstat (limited to 'src/routes/onboarding/OnboardingStack.tsx')
-rw-r--r--src/routes/onboarding/OnboardingStack.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/routes/onboarding/OnboardingStack.tsx b/src/routes/onboarding/OnboardingStack.tsx
index ccf9be47..33ff51ea 100644
--- a/src/routes/onboarding/OnboardingStack.tsx
+++ b/src/routes/onboarding/OnboardingStack.tsx
@@ -1,7 +1,12 @@
import {createStackNavigator} from '@react-navigation/stack';
+import {VerificationScreenType} from '../../types';
export type OnboardingStackParams = {
Login: undefined;
+ PasswordResetRequest: undefined;
+ PasswordReset: {
+ value: string;
+ };
InvitationCodeVerification: undefined;
RegistrationOne: undefined;
RegistrationTwo: {phone: string};
@@ -12,7 +17,7 @@ export type OnboardingStackParams = {
email: string;
};
Checkpoint: {username: string; userId: string};
- Verification: {phone: string};
+ Verification: {id: string; screenType: VerificationScreenType};
ProfileOnboarding: {username: string; userId: string};
SocialMedia: {username: string; userId: string};
};