aboutsummaryrefslogtreecommitdiff
path: root/src/routes/profile/ProfileStack.tsx
blob: 1d7b907e039262644aa31ae8d427b27cadfb4d53 (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 {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;
  };
};

export const ProfileStack = createStackNavigator<ProfileStackParams>();