UNPKG

@dndbuilder.com/react

Version:

Drag and drop builder for React

15 lines (14 loc) 466 B
import { jsx as t } from "react/jsx-runtime"; import d from "./heading-editable.js"; const f = ({ id: r, settings: e, meta: i, isEditable: l }) => { var a; if (!l) { const n = e.htmlTag || "h2", o = ((a = e.title) == null ? void 0 : a.en) || ""; return /* @__PURE__ */ t(n, { className: "heading", children: o }); } return /* @__PURE__ */ t(d, { id: r, settings: e, meta: i }); }; export { f as default }; //# sourceMappingURL=heading.block.js.map