Renders one message of the chat modal's list, with its reply, edit and delete actions.

Functions

f
ChatMessageItem(unnamed 0: ChatMessageItemProps): React.JSX.Element

Renders a chat message, or the editor over its text while editing. Its height eases between the two. Deleting asks for confirmation first.

Interfaces

I
ChatMessageItemProps

Passed to ChatMessageItem by ChatModal for each message row. The modal holds the edit, flash and permission state, and sends the edits and deletions over the socket.