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

function PreviewTitleBodyTagsButton(_ref) {
  var apiHost = _ref.apiHost,
      date = _ref.date,
      body = _ref.body,
      button1 = _ref.button1,
      contentPreviewProps = _ref.contentPreviewProps,
      _ref$fileUpload = _ref.fileUpload;
  _ref$fileUpload = _ref$fileUpload === void 0 ? {} : _ref$fileUpload;
  var fileId = _ref$fileUpload.fileId,
      sharedLinkUrl = _ref$fileUpload.sharedLinkUrl,
      getToken = _ref.getToken,
      tags = _ref.tags,
      title = _ref.title;
  return /*#__PURE__*/React.createElement("div", {
    className: "PreviewTitleBodyTagsButton"
  }, /*#__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, {
    actionItem: button1,
    date: date
  })));
}

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