"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const react = require("react");
const slateReact = require("slate-react");
const DefaultElement = ({ attributes, children, element }) => {
  const editor = slateReact.useSlateStatic();
  return react.createElement(editor.isInline(element) ? "span" : "div", attributes, children);
};
DefaultElement.displayName = "DefaultElement";
exports.DefaultElement = DefaultElement;
//# sourceMappingURL=DefaultElement.cjs.map
