UNPKG

@anoki/fse-ui

Version:

FSE UI components library

31 lines (30 loc) 781 B
import { j as s } from "./index.es180.js"; import './sections/RichText/RichText.css';/* empty css */ import { Section as t } from "./index.es46.js"; import { Col as n } from "./index.es10.js"; const j = ({ title: i, description: e, fontSize: r = "2", mdFontSize: c = "2", classNameTitle: o, children: m }) => /* @__PURE__ */ s.jsxs(t, { className: "base-col ui-rich-text-section", children: [ /* @__PURE__ */ s.jsxs(n, { className: "ui-rich-text-content", children: [ /* @__PURE__ */ s.jsx( t.Title, { fs: r, mdFs: c, className: o, children: i } ), e && /* @__PURE__ */ s.jsx(t.Description, { children: e }) ] }), m ] }); export { j as RichText }; //# sourceMappingURL=index.es107.js.map