// packages/block-editor/src/components/inspector-controls-tabs/content-tab.js
import { PanelBody } from "@wordpress/components";
import { __ } from "@wordpress/i18n";
import BlockQuickNavigation from "../block-quick-navigation";
import ContentOnlyControls from "../content-only-controls";
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
var ContentTab = ({ rootClientId, contentClientIds }) => {
  if (!contentClientIds || contentClientIds.length === 0) {
    return null;
  }
  return /* @__PURE__ */ jsxs(Fragment, { children: [
    !window?.__experimentalContentOnlyPatternInsertion && /* @__PURE__ */ jsx(PanelBody, { title: __("Content"), children: /* @__PURE__ */ jsx(BlockQuickNavigation, { clientIds: contentClientIds }) }),
    window?.__experimentalContentOnlyPatternInsertion && /* @__PURE__ */ jsx(ContentOnlyControls, { rootClientId })
  ] });
};
var content_tab_default = ContentTab;
export {
  content_tab_default as default
};
//# sourceMappingURL=content-tab.js.map
