// packages/block-editor/src/components/font-sizes/font-size-picker.js
import { FontSizePicker as BaseFontSizePicker } from "@wordpress/components";
import { useSettings } from "../use-settings";
import { jsx } from "react/jsx-runtime";
function FontSizePicker(props) {
  const [fontSizes, customFontSize] = useSettings(
    "typography.fontSizes",
    "typography.customFontSize"
  );
  return /* @__PURE__ */ jsx(
    BaseFontSizePicker,
    {
      ...props,
      fontSizes,
      disableCustomFontSizes: !customFontSize
    }
  );
}
var font_size_picker_default = FontSizePicker;
export {
  font_size_picker_default as default
};
//# sourceMappingURL=font-size-picker.js.map
