aboutsummaryrefslogtreecommitdiff
path: root/src/routes/onboarding/OnboardingStackNavigator.tsx
blob: 7a74988bf29fb6daff9a3cc659bdaffa218b982e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import {createStackNavigator} from '@react-navigation/stack';

export type OnboardingStackParams = {
  InvitationCodeVerification: {userId: string; username: string};
  Login: undefined;
  BasicInfoOnboarding: {isPhoneVerified: boolean};
  ProfileInfoOnboarding: {userId: string; username: string};
  PasswordReset: {value: string};
  PasswordResetRequest: undefined;
  PasswordVerification: {id: string};
  PhoneVerification: {firstName: string; lastName: string; phone: string};
  WelcomeScreen: undefined;
};

export const OnboardingStack = createStackNavigator<OnboardingStackParams>();