import { jsx as o } from "react/jsx-runtime";
import { SwitchControl as a } from "../../../../components/controls/switch.control.js";
import { useSettings as s } from "../../../../hooks/use-settings.js";
import { classNames as i } from "../../../../../../../utils.js";
const u = ({ type: r, fieldName: t, mediaField: l, className: e }) => {
  const [m] = s(l, r);
  return m ? /* @__PURE__ */ o("div", { className: i("mt-4", e), children: /* @__PURE__ */ o(a, { type: r, fieldName: t, label: "Background Overlay" }) }) : null;
};
export {
  u as default
};
//# sourceMappingURL=slide-overlay.control.js.map
