// packages/block-editor/src/components/provider/use-media-upload-settings.js
import { useMemo } from "@wordpress/element";
function useMediaUploadSettings(settings = {}) {
  return useMemo(
    () => ({
      mediaUpload: settings.mediaUpload,
      mediaSideload: settings.mediaSideload,
      maxUploadFileSize: settings.maxUploadFileSize,
      allowedMimeTypes: settings.allowedMimeTypes
    }),
    [settings]
  );
}
var use_media_upload_settings_default = useMediaUploadSettings;
export {
  use_media_upload_settings_default as default
};
//# sourceMappingURL=use-media-upload-settings.js.map
