"use client";
import { j as e } from "../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import { forwardRef as n } from "react";
import { ReactComponent as i } from "../../assets/images/Checkmark.svg.mjs";
import o from "./Checkbox.module.scss.mjs";
const h = n(function({
  children: r,
  disabled: c = !1,
  type: s = "primary",
  shape: a = "semiRounded",
  ...t
}, m) {
  return /* @__PURE__ */ e.jsxs("label", { className: o.container, children: [
    /* @__PURE__ */ e.jsx("input", { type: "checkbox", ref: m, ...t, disabled: c }),
    /* @__PURE__ */ e.jsx(
      "span",
      {
        className: `${o.checkmark} ${o[s]} ${o[a]}`,
        children: /* @__PURE__ */ e.jsx(i, { fill: "var(--checkbox-checkmark-color)" })
      }
    ),
    r
  ] });
});
export {
  h as default
};
//# sourceMappingURL=index.mjs.map
