diff options
| author | Justin Shillingford <jgs272@cornell.edu> | 2020-08-10 17:37:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-10 17:37:40 -0400 |
| commit | ebf69b2dc12b3109e3556c7e3a07ea3037a2ae53 (patch) | |
| tree | 2ded718315787885d703be2f4b6996c9ab9077aa /src/screens/onboarding | |
| parent | 8e62aaa6dc7c61dcba7b9313d0aadcf7f46ce41b (diff) | |
[TMA-65] Onboarding Link Social Media UI (#29)
* Basic setup for SocialMediaLinker component
* Added social media icons
* Displayed 3 main social components
* Layout components in a row
* Added base Show More/Less button
* Display all 9 socials with Show More button
* Added different font colors for each linker
* Realized that the check doesn't replace the text
* Added type-checking to some constants
* Updated state name
* Fixed Checkpoint.tsx merge issue
* Removed unnecessary path element
* Fixed type issues on Verification.tsx
Diffstat (limited to 'src/screens/onboarding')
| -rw-r--r-- | src/screens/onboarding/Checkpoint.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/screens/onboarding/Checkpoint.tsx b/src/screens/onboarding/Checkpoint.tsx index 013a80d2..4a58548e 100644 --- a/src/screens/onboarding/Checkpoint.tsx +++ b/src/screens/onboarding/Checkpoint.tsx @@ -10,12 +10,13 @@ import { TouchableOpacity, } from 'react-native'; -import {RootStackParamList, AuthContext} from '../../routes'; +import {OnboardingStackParams} from '../../routes'; +import {AuthContext} from '../../routes/authentication'; import {RegistrationWizard, Background} from '../../components'; -type CheckpointRouteProp = RouteProp<RootStackParamList, 'Checkpoint'>; +type CheckpointRouteProp = RouteProp<OnboardingStackParams, 'Checkpoint'>; type CheckpointNavigationProp = StackNavigationProp< - RootStackParamList, + OnboardingStackParams, 'Checkpoint' >; interface CheckpointProps { |
