diff options
| author | Ivan Chen <ivan@thetaggid.com> | 2021-01-12 12:38:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-12 12:38:46 -0500 |
| commit | 6892c63b899b46fedc9d99b8274a17e9043fe361 (patch) | |
| tree | 454d836c5848b4d9b2e082ae19e4e64679ccd49d /src/routes/onboarding/OnboardingStack.tsx | |
| parent | d955c6bc31be3b2e3e289a8dec8b5970251d4090 (diff) | |
[TMA-527/506/523] Custom Moment Categories (#174)
* changed logic to allow ≥ 1 categories
* now using array of strings for moment categories
* updated error strings
* formatting and check for picker cancellation
* initial UI done
* cleaned up logic, added custom icon
* renamed onboarding stack to match main stack
* removed unused import
* deterministic color picker
* custom category defaults to selected instead of added
* removed function in route
Diffstat (limited to 'src/routes/onboarding/OnboardingStack.tsx')
| -rw-r--r-- | src/routes/onboarding/OnboardingStack.tsx | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/routes/onboarding/OnboardingStack.tsx b/src/routes/onboarding/OnboardingStack.tsx deleted file mode 100644 index 7ff00271..00000000 --- a/src/routes/onboarding/OnboardingStack.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import {createStackNavigator} from '@react-navigation/stack'; -import { - CategorySelectionScreenType, - MomentCategoryType, - TaggPopupType, - UserType, - VerificationScreenType, -} from '../../types'; - -export type OnboardingStackParams = { - WelcomeScreen: undefined; - Login: undefined; - PasswordResetRequest: undefined; - PasswordReset: { - value: string; - }; - InvitationCodeVerification: undefined; - RegistrationOne: undefined; - RegistrationTwo: {phone: string}; - RegistrationThree: { - firstName: string; - lastName: string; - phone: string; - email: string; - }; - Checkpoint: {username: string; userId: string}; - 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>(); |
