diff options
author | meganhong <34787696+meganhong@users.noreply.github.com> | 2020-07-15 13:41:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-15 16:41:57 -0400 |
commit | c38291fb50e30af0739f17de42f3b8bb51cca73e (patch) | |
tree | 204e37311df6d5aab35bc8e28cfee2dc871faa75 /src/screens/onboarding/Camera.tsx | |
parent | d0a72c6e258def8e5f5ac99477114da8edfc2fcf (diff) |
TMA116 - Access Photo Gallery (#21)
* profile picture go to gallery methods added
* fitting images into circles
* styling stuff
* removed debug code
* changed image size to 580x580 for profile pic or else quality is low
* profile picture go to gallery methods added
* fitting images into circles
* styling stuff
* removed debug code
* changed image size to 580x580 for profile pic or else quality is low
* change circle to square cropper
* merging
* remove file from gitignore
* fitting images into circles
* styling stuff
* remove file from gitignore
* changing crop back to circle
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, 0 insertions, 28 deletions
diff --git a/src/screens/onboarding/Camera.tsx b/src/screens/onboarding/Camera.tsx deleted file mode 100644 index 23776e2d..00000000 --- a/src/screens/onboarding/Camera.tsx +++ /dev/null @@ -1,28 +0,0 @@ -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; |