import React from 'react';
const AttachmentLinkAnchor = ({ children, href, type }) => type === 'link' ? (React.createElement("a", { href: href, className: "attachment-link e-nowrap", target: "attachments" }, children)) : (React.createElement("span", { className: "attachment-link e-nowrap" }, children));
export default AttachmentLinkAnchor;
//# sourceMappingURL=AttachmentLinkAnchor.js.map