about summary refs log tree commit diff
path: root/src/view/shell/Composer.tsx
diff options
context:
space:
mode:
authorAnsh <anshnanda10@gmail.com>2023-08-22 11:01:00 -0700
committerGitHub <noreply@github.com>2023-08-22 11:01:00 -0700
commit16b265a86164e682486a3d8fa51bfa18d51bb945 (patch)
tree672a87170b11d9c9a6b7990f5b828da469981062 /src/view/shell/Composer.tsx
parent3aadc43c896e1c54552387f028a476d7d8ec2d3c (diff)
downloadvoidsky-16b265a86164e682486a3d8fa51bfa18d51bb945.tar.zst
[APP-834] Allow @ing someone in post directly from profile (#1241)
* setup `initMention` for mobile

* setup creating post with profile tagged on web
Diffstat (limited to 'src/view/shell/Composer.tsx')
-rw-r--r--src/view/shell/Composer.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view/shell/Composer.tsx b/src/view/shell/Composer.tsx
index e87fea647..ac155887c 100644
--- a/src/view/shell/Composer.tsx
+++ b/src/view/shell/Composer.tsx
@@ -14,6 +14,7 @@ export const Composer = observer(
     onPost,
     onClose,
     quote,
+    mention,
   }: {
     active: boolean
     winHeight: number
@@ -21,6 +22,7 @@ export const Composer = observer(
     onPost?: ComposerOpts['onPost']
     onClose: () => void
     quote?: ComposerOpts['quote']
+    mention?: ComposerOpts['mention']
   }) => {
     const pal = usePalette('default')
     const initInterp = useAnimatedValue(0)
@@ -65,6 +67,7 @@ export const Composer = observer(
           onPost={onPost}
           onClose={onClose}
           quote={quote}
+          mention={mention}
         />
       </Animated.View>
     )