aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-26 19:08:28 -0400
committerIvan Chen <ivan@tagg.id>2021-05-26 19:08:28 -0400
commite3571b2fcb4a78ea11466ff4bfb0405ae4028aea (patch)
tree8b65dcb7450472327bbd354d45aee820a056127b /src/routes
parentf6cc8c38b03add50c7fe20224fc0d8e70a5bce0e (diff)
Finish logic for draggables, Caption screen logic is done
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>();