UNPKG

@anoki/fse-ui

Version:

FSE UI components library

43 lines (42 loc) 1.15 kB
import { j as l } from "./index.es180.js"; import './sections/Documents/Documents.css';/* empty css */ import { CardFile as n } from "./index.es92.js"; import { Section as e } from "./index.es46.js"; const j = ({ title: o, items: i = [], colorTitle: t = "slate-20", fontSizeTitle: r = "2" }) => /* @__PURE__ */ l.jsxs(e, { className: "ui-document-section", children: [ /* @__PURE__ */ l.jsx("div", { className: "ui-document-items-section-title", children: /* @__PURE__ */ l.jsx( e.Title, { fs: r, mdFs: "2", as: "h3", color: t, children: o } ) }), /* @__PURE__ */ l.jsx( "ul", { role: "list", "aria-label": `Lista di ${o}`, className: "list-style-none ui-document-items-layout", children: i == null ? void 0 : i.map((s, a) => /* @__PURE__ */ l.jsx("li", { children: /* @__PURE__ */ l.jsx( n, { action: s == null ? void 0 : s.action, issued_at: s.issued_at, title: s.title, file: s.file } ) }, a)) } ) ] }); export { j as Documents }; //# sourceMappingURL=index.es110.js.map