// packages/block-library/src/comments/edit/comments-inspector-controls.js
import { __ } from "@wordpress/i18n";
import {
  InspectorControls,
  privateApis as blockEditorPrivateApis
} from "@wordpress/block-editor";
import { unlock } from "../../lock-unlock";
import { jsx } from "react/jsx-runtime";
var { HTMLElementControl } = unlock(blockEditorPrivateApis);
function CommentsInspectorControls({
  attributes: { tagName },
  setAttributes
}) {
  return /* @__PURE__ */ jsx(InspectorControls, { children: /* @__PURE__ */ jsx(InspectorControls, { group: "advanced", children: /* @__PURE__ */ jsx(
    HTMLElementControl,
    {
      tagName,
      onChange: (value) => setAttributes({ tagName: value }),
      options: [
        { label: __("Default (<div>)"), value: "div" },
        { label: "<section>", value: "section" },
        { label: "<aside>", value: "aside" }
      ]
    }
  ) }) });
}
export {
  CommentsInspectorControls as default
};
//# sourceMappingURL=comments-inspector-controls.js.map
