// packages/block-editor/src/components/block-heading-level-dropdown/heading-level-icon.js
import {
  headingLevel1,
  headingLevel2,
  headingLevel3,
  headingLevel4,
  headingLevel5,
  headingLevel6,
  paragraph
} from "@wordpress/icons";
import { Icon as WCIcon } from "@wordpress/components";
import { jsx } from "react/jsx-runtime";
var LEVEL_TO_PATH = {
  0: paragraph,
  1: headingLevel1,
  2: headingLevel2,
  3: headingLevel3,
  4: headingLevel4,
  5: headingLevel5,
  6: headingLevel6
};
function HeadingLevelIcon({ level }) {
  if (LEVEL_TO_PATH[level]) {
    return /* @__PURE__ */ jsx(WCIcon, { icon: LEVEL_TO_PATH[level] });
  }
  return null;
}
export {
  HeadingLevelIcon as default
};
//# sourceMappingURL=heading-level-icon.mjs.map
