import { jsx as s } from "react/jsx-runtime";
import { SelectControl as m } from "../../../components/controls/select.control.js";
import { useSettings as p } from "../../../hooks/use-settings.js";
import { SettingsType as i } from "../../../types/index.js";
const c = ({ label: o, fieldName: e, type: r }) => {
  const [n] = p("button.presets", i.THEME);
  return /* @__PURE__ */ s(
    m,
    {
      type: r,
      fieldName: e,
      label: o,
      options: [
        ...n.map((t) => ({
          content: t.name,
          value: t.id
        }))
      ]
    }
  );
};
export {
  c as default
};
//# sourceMappingURL=button-preset.control.js.map
