From 9cbf8717e2d99dc17b93cd812cb7efff0812ca4f Mon Sep 17 00:00:00 2001 From: Germain Souquet Date: Tue, 7 Sep 2021 09:12:38 +0100 Subject: [PATCH] Add comments for missing types in MessageActionBar --- src/components/views/messages/MessageActionBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/messages/MessageActionBar.tsx b/src/components/views/messages/MessageActionBar.tsx index fe4cf80bc0..f76fa32ddc 100644 --- a/src/components/views/messages/MessageActionBar.tsx +++ b/src/components/views/messages/MessageActionBar.tsx @@ -90,7 +90,7 @@ const OptionsButton: React.FC = interface IReactButtonProps { mxEvent: MatrixEvent; - reactions: any; + reactions: any; // TODO: types onFocusChange: (menuDisplayed: boolean) => void; } @@ -128,7 +128,7 @@ const ReactButton: React.FC = ({ mxEvent, reactions, onFocusC interface IMessageActionBarProps { mxEvent: MatrixEvent; // The Relations model from the JS SDK for reactions to `mxEvent` - reactions?: any; + reactions?: any; // TODO: types permalinkCreator?: RoomPermalinkCreator; getTile: () => any; // TODO: FIXME, haven't figured out what the return type is here getReplyThread?: () => ReplyThread;