Add badges to @-mentions picker

This commit is contained in:
Evan Hahn 2021-11-17 12:38:52 -06:00 committed by GitHub
parent 79913f7e10
commit 4dd9232c36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 55 additions and 21 deletions

View file

@ -47,6 +47,7 @@ const useProps = (overrideProps: Partial<PropsType> = {}): PropsType => ({
conversationId: 'conversation-id',
candidateConversations,
doForwardMessage: action('doForwardMessage'),
getPreferredBadge: () => undefined,
i18n,
isSticker: Boolean(overrideProps.isSticker),
linkPreview: overrideProps.linkPreview,