import React from "react";
import { getAttachmentMimeType } from "../../utils";

/**
 * Component rendering unsupported attachments
 */
import { jsx as ___EmotionJSX } from "@emotion/react";
export const UnsupportedRenderer = _ref => {
  let {
    attachment
  } = _ref;
  return ___EmotionJSX("div", null, ___EmotionJSX("h2", null, "Rendering of this type of attachment is not supported."), ___EmotionJSX("p", null, "Please check your mime-type: ", getAttachmentMimeType(attachment)));
};
//# sourceMappingURL=UnsupportedRenderer.js.map