[APP-834] Allow @ing someone in post directly from profile (#1241)
* setup `initMention` for mobile * setup creating post with profile tagged on web
This commit is contained in:
parent
3aadc43c89
commit
16b265a861
9 changed files with 99 additions and 5 deletions
|
@ -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>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue