/** * 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();