diff options
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/onboarding/Onboarding.tsx | 16 | ||||
| -rw-r--r-- | src/routes/onboarding/OnboardingStack.tsx | 7 |
2 files changed, 22 insertions, 1 deletions
diff --git a/src/routes/onboarding/Onboarding.tsx b/src/routes/onboarding/Onboarding.tsx index 4ebc281c..63a75934 100644 --- a/src/routes/onboarding/Onboarding.tsx +++ b/src/routes/onboarding/Onboarding.tsx @@ -10,6 +10,8 @@ import { ProfileOnboarding, Checkpoint, SocialMedia, + PasswordResetRequest, + PasswordReset, } from '../../screens'; import {StackCardInterpolationProps} from '@react-navigation/stack'; @@ -33,6 +35,20 @@ const Onboarding: React.FC = () => { }} /> <OnboardingStack.Screen + name="PasswordResetRequest" + component={PasswordResetRequest} + options={{ + gestureEnabled: false, + }} + /> + <OnboardingStack.Screen + name="PasswordReset" + component={PasswordReset} + options={{ + gestureEnabled: false, + }} + /> + <OnboardingStack.Screen name="InvitationCodeVerification" component={InvitationCodeVerification} /> 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}; }; |
