From 7e93ac3f0b2b6b1509d95d020a3138968ac1cfc7 Mon Sep 17 00:00:00 2001
From: Brian Kim <brian@tagg.id>
Date: Tue, 18 May 2021 16:21:21 -0700
Subject: Messing around with captionscreen

---
 src/screens/profile/CaptionScreen.tsx | 13 +++++++++++++
 1 file changed, 13 insertions(+)

(limited to 'src/screens/profile/CaptionScreen.tsx')

diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx
index a41abba6..50b60024 100644
--- a/src/screens/profile/CaptionScreen.tsx
+++ b/src/screens/profile/CaptionScreen.tsx
@@ -29,6 +29,8 @@ import {RootState} from '../../store/rootReducer';
 import {SCREEN_WIDTH, StatusBarHeight} from '../../utils';
 import {mentionPartTypes} from '../../utils/comments';
 
+import TaggDraggable from '../../components/taggs/TaggDraggable';
+
 /**
  * Upload Screen to allow users to upload posts to Tagg
  */
@@ -47,6 +49,7 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => {
   const {
     user: {userId},
   } = useSelector((state: RootState) => state.user);
+  console.log(userId);
   const dispatch = useDispatch();
   const [caption, setCaption] = useState('');
   const [loading, setLoading] = useState(false);
@@ -118,6 +121,16 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => {
               onChange={setCaption}
               partTypes={mentionPartTypes('blue')}
             />
+            <TaggDraggable
+              draggable={true}
+              minX={0}
+              minY={0}
+              maxX={50}
+              maxY={50}
+              taggedUser={user}
+              redirect={true}
+              deleteFromList={() => console.log('Hello world')}
+            />
           </View>
         </KeyboardAvoidingView>
       </TouchableWithoutFeedback>
-- 
cgit v1.2.3-70-g09d2

