diff options
author | meganhong <34787696+meganhong@users.noreply.github.com> | 2020-07-13 15:08:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-13 18:08:06 -0400 |
commit | 5dee1e585353b6d7407f521dfa9186dbf10e8226 (patch) | |
tree | 752f2053ec50f817a44c90501f3594427d50af5a /src/screens/onboarding/Camera.tsx | |
parent | 95e160e64dc6a5763fdbdc7d7e5b814302446ba9 (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/screens/onboarding/Camera.tsx')
-rw-r--r-- | src/screens/onboarding/Camera.tsx | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/screens/onboarding/Camera.tsx b/src/screens/onboarding/Camera.tsx new file mode 100644 index 00000000..23776e2d --- /dev/null +++ b/src/screens/onboarding/Camera.tsx @@ -0,0 +1,28 @@ +import React from 'react'; +import {RouteProp} from '@react-navigation/native'; +import {StackNavigationProp} from '@react-navigation/stack'; +import {RootStackParamList} from '../../routes'; +import {Background, CenteredView} from '../../components'; +import {Text} from 'react-native-animatable'; + +type CameraScreenRouteProp = RouteProp<RootStackParamList, 'Camera'>; +type CameraScreenNavigationProp = StackNavigationProp< + RootStackParamList, + 'Camera' +>; +interface CameraProps { + route: CameraScreenRouteProp; + navigation: CameraScreenNavigationProp; +} + +const Camera: React.FC<CameraProps> = ({}) => { + return ( + <Background> + <CenteredView> + <Text>Camera!</Text> + </CenteredView> + </Background> + ); +}; + +export default Camera; |