"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const ui = require("@contember/ui");
const HeadingRenderer = ({
  attributes,
  element,
  children
}) => (
  // TODO use BlockElement
  /* @__PURE__ */ jsxRuntime.jsx(ui.EditorHeading, { attributes, level: element.level, align: element.align, isNumbered: element.isNumbered, children })
);
HeadingRenderer.displayName = "HeadingRenderer";
exports.HeadingRenderer = HeadingRenderer;
//# sourceMappingURL=HeadingRenderer.cjs.map
