blob: e7db9f373a834a9f5160d706ba9310be7d3c208a (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/**
* Note the name userXId here, it refers to the id of the user being visited
*/
import {createStackNavigator} from '@react-navigation/stack';
import {MomentType, ScreenType} from '../../types';
export type ProfileStackParams = {
Search: {
screenType: ScreenType;
};
Profile: {
userXId: string | undefined;
screenType: ScreenType;
};
SocialMediaTaggs: {
socialMediaType: string;
userXId: string | undefined;
screenType: ScreenType;
};
CaptionScreen: {
title: string;
image: object;
screenType: ScreenType;
};
IndividualMoment: {
moment: MomentType;
userXId: string | undefined;
screenType: ScreenType;
};
MomentCommentsScreen: {
moment_id: string;
userXId: string | undefined;
screenType: ScreenType;
};
FollowersListScreen: {
isFollowers: boolean;
userXId: string | undefined;
screenType: ScreenType;
};
EditProfile: {
userId: string;
username: string;
};
};
export const ProfileStack = createStackNavigator<ProfileStackParams>();
|