import { jsx as p } from "react/jsx-runtime";
import i from "../hooks/useMultipleToggleGroup.js";
import { ToggleGroup as n } from "../TogglePrimitive.js";
import { useCallback as c } from "react";
import { toggleGroupVariants as d } from "../types/ToggleGroupVariant.js";
const h = ({ shape: e = "default", size: a = "default", variant: o = "default", children: u, ...l }) => {
  const { defaultValues: r } = l, { activeValues: g, toggleValue: t, extractedProps: m } = i(l), s = c(
    (f) => {
      t(f);
    },
    [t]
  );
  return /* @__PURE__ */ p(
    n,
    {
      ...m,
      className: d[e],
      value: g,
      defaultValue: r,
      shape: e,
      variant: o,
      size: a,
      onValueChange: s,
      type: "multiple",
      children: u
    }
  );
};
export {
  h as default
};
//# sourceMappingURL=ToggleMultipleGroup.js.map
