aboutsummaryrefslogtreecommitdiff
path: root/src/routes/profile/ProfileStack.tsx
blob: b535d90d4f65789e6871e50e5a2c55d5d16c8291 (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
import {createStackNavigator} from '@react-navigation/stack';
import {MomentType} from '../../types';

export type ProfileStackParams = {
  Search: undefined;
  Profile: {
    isProfileView: boolean;
  };
  SocialMediaTaggs: {
    socialMediaType: string;
    socialMediaHandle: string;
    isProfileView: boolean;
  };
  CaptionScreen: {
    title: string;
    image: object;
  };
  IndividualMoment: {
    moment: MomentType;
    isProfileView: boolean;
  };
  MomentCommentsScreen: {
    isProfileView: boolean;
    moment_id: string;
  };
  ProfileView: {
    isProfileView: boolean;
  };
  FollowersListScreen: {
    isProfileView: boolean;
    isFollowers: boolean;
  };
};

export const ProfileStack = createStackNavigator<ProfileStackParams>();