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