aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2020-10-13 10:24:59 -0700
committerGitHub <noreply@github.com>2020-10-13 13:24:59 -0400
commit854a7d8f8526e8142c416ec41682468e87bcbbd2 (patch)
tree80493f0e697cc1b6d93e960fa2a0a6d5a4a91e95 /src/routes
parent6e3fe33e5e1d3818ef8bb942c1544581ab8c0688 (diff)
[TMA - 238] Added invitation code verification screen as the first onboarding screen (#46)
* Added invitation code verification screen as the first onboarding screen * Changed screen order on some screens and a quick check on back navigation
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/onboarding/Onboarding.tsx5
-rw-r--r--src/routes/onboarding/OnboardingStack.tsx1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/routes/onboarding/Onboarding.tsx b/src/routes/onboarding/Onboarding.tsx
index 7b2eb85d..148dbefb 100644
--- a/src/routes/onboarding/Onboarding.tsx
+++ b/src/routes/onboarding/Onboarding.tsx
@@ -2,6 +2,7 @@ import React from 'react';
import {OnboardingStack} from './OnboardingStack';
import {
Login,
+ InvitationCodeVerification,
RegistrationOne,
RegistrationTwo,
RegistrationThree,
@@ -33,6 +34,10 @@ const Onboarding: React.FC = () => {
}}
/>
<OnboardingStack.Screen
+ name="InvitationCodeVerification"
+ component={InvitationCodeVerification}
+ />
+ <OnboardingStack.Screen
name="RegistrationOne"
component={RegistrationOne}
/>
diff --git a/src/routes/onboarding/OnboardingStack.tsx b/src/routes/onboarding/OnboardingStack.tsx
index 1f6214fd..f1cfda39 100644
--- a/src/routes/onboarding/OnboardingStack.tsx
+++ b/src/routes/onboarding/OnboardingStack.tsx
@@ -3,6 +3,7 @@ import {createStackNavigator} from '@react-navigation/stack';
export type OnboardingStackParams = {
Splash: undefined;
Login: undefined;
+ InvitationCodeVerification: undefined;
RegistrationOne: undefined;
RegistrationTwo: {email: string};
RegistrationThree: {firstName: string; lastName: string; email: string};