@anoki/fse-ui
Version:
FSE UI components library
39 lines (38 loc) • 1.2 kB
JavaScript
import { j as i } from "./index.es237.js";
import { RichText as e } from "./index.es143.js";
import './sections/Documents/Documents.css';/* empty css */
import { CardFile as a } from "./index.es44.js";
import { Section as c, SectionHeading as l } from "./index.es123.js";
const m = ({ title: n, description: t, items: o = [] }) => /* @__PURE__ */ i.jsxs(c, { className: "ui-document-section", children: [
/* @__PURE__ */ i.jsx(
l,
{
title: n,
description: /* @__PURE__ */ i.jsx(e, { description: t }),
className: "ui-document-items-section-title"
}
),
/* @__PURE__ */ i.jsx(
"ul",
{
role: "list",
"aria-label": `Lista di ${n}`,
className: "list-style-none ui-document-items-layout",
children: o == null ? void 0 : o.map((s, r) => /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(
a,
{
action: s == null ? void 0 : s.action,
issued_at: s.issued_at,
title: s.title,
file: s.file,
description: s.description,
asLink: s.asLink
}
) }, r))
}
)
] });
export {
m as Documents
};
//# sourceMappingURL=index.es146.js.map