import { jsx as e } from "@emotion/react/jsx-runtime";
import { forwardRef as i } from "react";
import { Checkbox as h } from "@mui/material";
import { CheckboxIndeterminateIcon as m, CheckboxCheckedIcon as a, CheckboxIcon as f } from "./subcomponents/CustomIcons/CustomIcons.js";
const s = i(function({ onChange: t, checked: n, ...r }, C) {
  function c(o) {
    t(o.target.checked, o.nativeEvent.shiftKey);
  }
  return /* @__PURE__ */ e(
    h,
    {
      checked: n,
      size: "small",
      icon: /* @__PURE__ */ e(f, {}),
      disableRipple: !0,
      checkedIcon: /* @__PURE__ */ e(a, {}),
      indeterminateIcon: /* @__PURE__ */ e(m, {}),
      onChange: c,
      ...r
    }
  );
});
export {
  s as CheckboxFormatter
};
