diff options
Diffstat (limited to 'src/view/screens/ProfileFollows.tsx')
-rw-r--r-- | src/view/screens/ProfileFollows.tsx | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/view/screens/ProfileFollows.tsx b/src/view/screens/ProfileFollows.tsx new file mode 100644 index 000000000..96ce60ddd --- /dev/null +++ b/src/view/screens/ProfileFollows.tsx @@ -0,0 +1,24 @@ +import React, {useLayoutEffect} from 'react' +import {TouchableOpacity} from 'react-native' +import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' +import {ProfileFollows as ProfileFollowsComponent} from '../com/profile/ProfileFollows' +import {ScreenParams} from '../routes' + +export const ProfileFollows = ({params}: ScreenParams) => { + const {name} = params + + // TODO + // useLayoutEffect(() => { + // navigation.setOptions({ + // headerShown: true, + // headerTitle: 'Following', + // headerLeft: () => ( + // <TouchableOpacity onPress={() => navigation.goBack()}> + // <FontAwesomeIcon icon="arrow-left" /> + // </TouchableOpacity> + // ), + // }) + // }, [navigation]) + + return <ProfileFollowsComponent name={name} /> +} |