aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/main/MainStackNavigator.tsx19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx
index aeead38d..9ca11458 100644
--- a/src/routes/main/MainStackNavigator.tsx
+++ b/src/routes/main/MainStackNavigator.tsx
@@ -5,6 +5,7 @@ import {createStackNavigator} from '@react-navigation/stack';
import {Image} from 'react-native-image-crop-picker';
import {
CommentBaseType,
+ MomentTagType,
MomentType,
ProfilePreviewType,
ScreenType,
@@ -40,7 +41,15 @@ export type MainStackParams = {
title: string;
image: Image;
screenType: ScreenType;
- selectedUsers?: ProfilePreviewType[];
+ selectedTags?: MomentTagType[];
+ };
+ TagFriendsScreen: {
+ image: Image;
+ screenType: ScreenType;
+ selectedTags?: MomentTagType[];
+ };
+ TagSelectionScreen: {
+ selectedUsers: ProfilePreviewType[];
};
IndividualMoment: {
moment: MomentType;
@@ -99,14 +108,6 @@ export type MainStackParams = {
ChatList: undefined;
Chat: undefined;
NewChatModal: undefined;
- TagSelectionScreen: {
- selectedUsers: ProfilePreviewType[];
- };
- TagFriendsScreen: {
- image: Image;
- screenType: ScreenType;
- selectedUsers?: ProfilePreviewType[];
- };
};
export const MainStack = createStackNavigator<MainStackParams>();