UNPKG

@anoki/fse-ui

Version:

FSE UI components library

20 lines (19 loc) 812 B
import { j as s } from "./index.es180.js"; import './components/ui/EditorialWidget/EditorialWidget.css';/* empty css */ import { clsx as l } from "./index.es182.js"; import { Section as t } from "./index.es46.js"; import { Col as m } from "./index.es10.js"; const x = ({ title: r, children: i, subtitle: e, variant: o = "light" }) => /* @__PURE__ */ s.jsx(t, { className: l("editorial-widget", o), children: /* @__PURE__ */ s.jsxs(m, { className: "", children: [ /* @__PURE__ */ s.jsx(t.Title, { fs: "1", className: "title", mdFs: "0", children: r }), /* @__PURE__ */ s.jsx("div", { className: "subtitle", children: e }), i && /* @__PURE__ */ s.jsx(t.Description, { color: "transparent", children: i }) ] }) }); export { x as EditorialWidget }; //# sourceMappingURL=index.es102.js.map