@anoki/fse-ui
Version:
FSE UI components library
48 lines (47 loc) • 1.38 kB
JavaScript
import { j as e } from "./index.es237.js";
import { clsx as s } from "./index.es239.js";
import { RichText as x } from "./index.es143.js";
import './sections/TableList/TableList.css';/* empty css */
import { Section as p, SectionHeading as d } from "./index.es123.js";
import { Col as f } from "./index.es61.js";
var j = /* @__PURE__ */ ((t) => (t.LEFT = "text-left", t.CENTER = "text-center", t.RIGHT = "text-right", t))(j || {});
const C = ({
title: t,
description: o,
fontSize: r = "2",
mdFontSize: i = "2",
classNameTitle: c,
additionalClass: m,
variantClassTable: a = "text-left",
children: l
}) => {
const n = o ? /* @__PURE__ */ e.jsx(x, { description: o }) : void 0;
return /* @__PURE__ */ e.jsxs(
p,
{
className: s("base-col ui-table-list-section", m),
children: [
/* @__PURE__ */ e.jsx(f, { className: "ui-table-list-content", children: /* @__PURE__ */ e.jsx(
d,
{
fs: r,
mdFs: i,
className: c,
titleMarginBottom: "0",
descriptionMarginBottom: "0",
color: "blue-48",
title: t,
description: n,
descriptionClassName: s("text-slate-28", a)
}
) }),
l
]
}
);
};
export {
j as TableAlignment,
C as TableList
};
//# sourceMappingURL=index.es159.js.map