Add comments for missing types in MessageActionBar
This commit is contained in:
parent
01d61786f1
commit
9cbf8717e2
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ const OptionsButton: React.FC<IOptionsButtonProps> =
|
||||||
|
|
||||||
interface IReactButtonProps {
|
interface IReactButtonProps {
|
||||||
mxEvent: MatrixEvent;
|
mxEvent: MatrixEvent;
|
||||||
reactions: any;
|
reactions: any; // TODO: types
|
||||||
onFocusChange: (menuDisplayed: boolean) => void;
|
onFocusChange: (menuDisplayed: boolean) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ const ReactButton: React.FC<IReactButtonProps> = ({ mxEvent, reactions, onFocusC
|
||||||
interface IMessageActionBarProps {
|
interface IMessageActionBarProps {
|
||||||
mxEvent: MatrixEvent;
|
mxEvent: MatrixEvent;
|
||||||
// The Relations model from the JS SDK for reactions to `mxEvent`
|
// The Relations model from the JS SDK for reactions to `mxEvent`
|
||||||
reactions?: any;
|
reactions?: any; // TODO: types
|
||||||
permalinkCreator?: RoomPermalinkCreator;
|
permalinkCreator?: RoomPermalinkCreator;
|
||||||
getTile: () => any; // TODO: FIXME, haven't figured out what the return type is here
|
getTile: () => any; // TODO: FIXME, haven't figured out what the return type is here
|
||||||
getReplyThread?: () => ReplyThread;
|
getReplyThread?: () => ReplyThread;
|
||||||
|
|
Loading…
Reference in a new issue