@anoki/fse-ui
Version:
FSE UI components library
32 lines (31 loc) • 1.37 kB
JavaScript
import { j as s } from "./index.es237.js";
import './components/ui/AuthorBlock/AuthorBlock.css';/* empty css */
import { Row as c } from "./index.es116.js";
const o = ({
/*titleTag: TitleTag = "h1",
authorName,
avatar,
avatarSize = "3", */
publishedLabel: e = "Pubblicato il",
publishedDate: a = "-",
readingTimeLabel: l = "Tempo di lettura",
readingTimeValue: r = 0,
readingMinuteLabel: i = "minuti"
}) => /* @__PURE__ */ s.jsx("article", { className: "bg-white br-x4 ui-card-author", children: /* @__PURE__ */ s.jsx(c, { as: "header", gap: "x16", className: "align-items-center", children: /* @__PURE__ */ s.jsx("div", { className: "text-slate-28", children: /* @__PURE__ */ s.jsxs("div", { className: "base-row gap-x8 fs-6 text-slate-28", children: [
/* @__PURE__ */ s.jsxs("div", { className: "item-block", children: [
/* @__PURE__ */ s.jsx("p", { className: "fw-regular", children: e }),
/* @__PURE__ */ s.jsx("p", { className: "fw-bold", children: a })
] }),
/* @__PURE__ */ s.jsxs("div", { className: "item-block ui-author-divider", children: [
/* @__PURE__ */ s.jsx("p", { className: "fw-regular ", children: l }),
/* @__PURE__ */ s.jsxs("p", { className: "fw-bold", children: [
r,
" ",
i
] })
] })
] }) }) }) });
export {
o as AuthorBlock
};
//# sourceMappingURL=index.es26.js.map