"use client";
function l(t, e) {
  const p = {
    type: "element",
    tagName: "h" + e.depth,
    properties: {},
    children: t.all(e)
  };
  return t.patch(e, p), t.applyData(e, p);
}
export {
  l as heading
};
