import * as React from 'react';
import MessageTextContent from '../common/MessageTextContent';
import MessagePreviewContent from '../common/MessagePreviewContent';
import MessageTags from '../common/MessageTags';
import MessageFooter from '../common/MessageFooter';
import BottomContentWrapper from '../common/BottomContentWrapper';

function PreviewTitleBodyTags(_ref) {
  var apiHost = _ref.apiHost,
      date = _ref.date,
      body = _ref.body,
      contentPreviewProps = _ref.contentPreviewProps,
      _ref$fileUpload = _ref.fileUpload;
  _ref$fileUpload = _ref$fileUpload === void 0 ? {} : _ref$fileUpload;
  var fileId = _ref$fileUpload.fileId,
      sharedLinkUrl = _ref$fileUpload.sharedLinkUrl,
      tags = _ref.tags,
      title = _ref.title,
      getToken = _ref.getToken;
  return /*#__PURE__*/React.createElement("div", {
    className: "PreviewTitleBodyTags"
  }, /*#__PURE__*/React.createElement(MessagePreviewContent, {
    apiHost: apiHost,
    contentPreviewProps: contentPreviewProps,
    fileId: fileId,
    getToken: getToken,
    sharedLink: sharedLinkUrl
  }), /*#__PURE__*/React.createElement(BottomContentWrapper, null, /*#__PURE__*/React.createElement(MessageTextContent, {
    body: body,
    title: title
  }), /*#__PURE__*/React.createElement(MessageTags, {
    tags: tags
  }), /*#__PURE__*/React.createElement(MessageFooter, {
    date: date
  })));
}

export default PreviewTitleBodyTags;
//# sourceMappingURL=PreviewTitleBodyTags.js.map