From f874ea50d55bfbd68fdc24097c5aff8ddf8322f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hanno=20J=2E=20G=C3=B6decke?= Date: Sun, 19 Feb 2023 17:15:07 +0100 Subject: [PATCH] updated JSDocs --- src/components/Reactions/MiniQuickEmojiReactions.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/Reactions/MiniQuickEmojiReactions.js b/src/components/Reactions/MiniQuickEmojiReactions.js index 4aafdf1d76b7..0e120dc60528 100644 --- a/src/components/Reactions/MiniQuickEmojiReactions.js +++ b/src/components/Reactions/MiniQuickEmojiReactions.js @@ -16,8 +16,15 @@ import { baseQuickEmojiReactionsPropTypes, } from './QuickEmojiReactions/BaseQuickEmojiReactions'; +/** + * Shows the four common quick reactions and a + * emoji picker icon button. This is used for the mini + * context menu which we just show on web, when hovering + * a message. + * @param {Props} props + * @returns {JSX.Element} + */ const MiniQuickEmojiReactions = (props) => { - // TODO: this is duplicated code with the add reaction bubble. Can we consolidate? const ref = React.createRef(); const openEmojiPicker = () => {