aboutsummaryrefslogtreecommitdiff
path: root/src/screens/onboarding/RegistrationTwo.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/screens/onboarding/RegistrationTwo.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/screens/onboarding/RegistrationTwo.tsx')
-rw-r--r--src/screens/onboarding/RegistrationTwo.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/screens/onboarding/RegistrationTwo.tsx b/src/screens/onboarding/RegistrationTwo.tsx
index edefebaf..2f67d8c8 100644
--- a/src/screens/onboarding/RegistrationTwo.tsx
+++ b/src/screens/onboarding/RegistrationTwo.tsx
@@ -22,6 +22,7 @@ import {
} from '../../components';
import {nameRegex, emailRegex} from '../../constants';
+import {BackgroundGradientType} from '../../types';
type RegistrationScreenTwoRouteProp = RouteProp<
OnboardingStackParams,
@@ -170,7 +171,9 @@ const RegistrationTwo: React.FC<RegistrationTwoProps> = ({
);
return (
- <Background style={styles.container}>
+ <Background
+ style={styles.container}
+ gradientType={BackgroundGradientType.Light}>
<StatusBar barStyle="light-content" />
<RegistrationWizard style={styles.wizard} step="four" />
<KeyboardAvoidingView