aboutsummaryrefslogtreecommitdiff
path: root/src/routes/Routes.tsx
diff options
context:
space:
mode:
authormeganhong <34787696+meganhong@users.noreply.github.com>2020-07-13 15:08:06 -0700
committerGitHub <noreply@github.com>2020-07-13 18:08:06 -0400
commit5dee1e585353b6d7407f521dfa9186dbf10e8226 (patch)
tree752f2053ec50f817a44c90501f3594427d50af5a /src/routes/Routes.tsx
parent95e160e64dc6a5763fdbdc7d7e5b814302446ba9 (diff)
TMA123: Add Profile Pictures UI (#17)
* rebasing * rebasing * remove debug code * fixed margins and added navigation from login * moved plist file into gitignore * moved index.ts to onboarding directory * install react native image crop picker * added permissions into Info.plist * rebasing * minor changes for Justins PR * change debug code back Co-authored-by: meganhong <meganhong31@g.ucla.edu>
Diffstat (limited to 'src/routes/Routes.tsx')
-rw-r--r--src/routes/Routes.tsx9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/routes/Routes.tsx b/src/routes/Routes.tsx
index c426b033..bf9b9fbd 100644
--- a/src/routes/Routes.tsx
+++ b/src/routes/Routes.tsx
@@ -1,12 +1,14 @@
import React from 'react';
import {createStackNavigator} from '@react-navigation/stack';
-import {Login, Registration, Verification} from '../screens';
+import {Login, Registration, Verification, Profile, Camera} from '../screens/onboarding';
export type RootStackParamList = {
Login: undefined;
Registration: undefined;
Verification: undefined;
+ Profile: undefined;
+ Camera: undefined;
};
const RootStack = createStackNavigator<RootStackParamList>();
@@ -31,6 +33,11 @@ const Routes: React.FC<RoutesProps> = ({}) => {
component={Verification}
options={{headerShown: false}}
/>
+ <RootStack.Screen name="Profile"
+ component={Profile}
+ options={{headerShown: false}}
+ />
+ <RootStack.Screen name="Camera" component={Camera} />
</RootStack.Navigator>
);
};