import { h } from '@stencil/core';
const ResourceMeta = ({ resource }) => {
    var _a;
    return (h("div", { class: "resource-meta" },
        h("div", { class: "type" }, resource.type),
        h("div", { class: "tags" }, (_a = resource.tags) === null || _a === void 0 ? void 0 : _a.map((t, i) => [h("span", null, t), i < resource.tags.length - 1 ? h(Sep, null) : null]))));
};
const Sep = () => h("span", { class: "sep" });
export default ResourceMeta;
