import { observer } from "mobx-react";
import * as React from "react";
import { Message, TransitionGroup } from "semantic-ui-react";
import { Message as UiMessage, UiStore } from "@app/ui";
class MessageView extends React.Component<{
uiStore: UiStore,
message: UiMessage,
index: number,
}> {
render() {
const { header, content, type } = this.props.message;
return (