blob: cc388ffd7f468dda397b3be667a01405f3a5b183 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import React from 'react';
import {StatusBar} from 'react-native';
import Animated from 'react-native-reanimated';
import {Content, Cover, TabsGradient} from '../../components';
import {AuthContext} from '../../routes/authentication';
/**
* Profile Screen for a user's logged in profile
* including posts, messaging, and settings
*/
const ProfileScreen: React.FC = () => {
const {user} = React.useContext(AuthContext);
const y = Animated.useValue(0);
return (
<>
<StatusBar />
<Cover {...{y, user}} />
<Content {...{y, user}} />
<TabsGradient />
</>
);
};
export default ProfileScreen;
|