// @flow
import {Component} from 'react'

import type {Message, TextMessage, ServerMessage, FollowingMap, MetaDataMap, OutboxIDKey} from '../../../constants/chat'

export type Props = {
  message: TextMessage,
  includeHeader: boolean,
  isEditing: boolean,
  isFirstNewMessage: boolean,
  onAction: (message: ServerMessage, event: any) => void,
  onRetry: (outboxID: OutboxIDKey) => void,
  onShowEditor: (message: Message, event: any) => void,
  style: Object,
  isSelected: boolean,
  you: string,
  followingMap: FollowingMap,
  metaDataMap: MetaDataMap,
}

export default class MessageText extends Component<void, Props, void> { }
