aboutsummaryrefslogtreecommitdiff
path: root/src/routes/onboarding/OnboardingStack.tsx
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2020-12-22 08:50:27 -0800
committerGitHub <noreply@github.com>2020-12-22 11:50:27 -0500
commita954d6b6b88485dddc0ccfda634ffd102cb34ccd (patch)
tree560f152dd92ccb482a2bbf6b094060525373322c /src/routes/onboarding/OnboardingStack.tsx
parent49ed044f5103cf6288fcf5b3ff6d3d720795860c (diff)
[TMA 446] Create category (#144)
* Added welcome page * Working code * Small fix * Some more cleanup * Fixes * Cleanup * Fix again * Use gradient for white bg as well * Fixed type
Diffstat (limited to 'src/routes/onboarding/OnboardingStack.tsx')
-rw-r--r--src/routes/onboarding/OnboardingStack.tsx17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/routes/onboarding/OnboardingStack.tsx b/src/routes/onboarding/OnboardingStack.tsx
index 33ff51ea..7ff00271 100644
--- a/src/routes/onboarding/OnboardingStack.tsx
+++ b/src/routes/onboarding/OnboardingStack.tsx
@@ -1,7 +1,14 @@
import {createStackNavigator} from '@react-navigation/stack';
-import {VerificationScreenType} from '../../types';
+import {
+ CategorySelectionScreenType,
+ MomentCategoryType,
+ TaggPopupType,
+ UserType,
+ VerificationScreenType,
+} from '../../types';
export type OnboardingStackParams = {
+ WelcomeScreen: undefined;
Login: undefined;
PasswordResetRequest: undefined;
PasswordReset: {
@@ -20,6 +27,14 @@ export type OnboardingStackParams = {
Verification: {id: string; screenType: VerificationScreenType};
ProfileOnboarding: {username: string; userId: string};
SocialMedia: {username: string; userId: string};
+ CategorySelection: {
+ categories: Record<MomentCategoryType, boolean>;
+ screenType: CategorySelectionScreenType;
+ user: UserType;
+ };
+ TaggPopup: {
+ popupProps: TaggPopupType;
+ };
};
export const OnboardingStack = createStackNavigator<OnboardingStackParams>();