import * as r from "react";
import a from "../../../../../../../../../_virtual/index9.js";
import { Root as i, Thumb as f } from "../../../../../../../@radix-ui_react-switch@1.1.0_@types_react-dom@18.3.6_@types_react@18.3.3__@types_react@_8ab24620ecf59cf4e6827f113058b888/node_modules/@radix-ui/react-switch/dist/index.js";
import { extractProps as h } from "../helpers/extract-props.js";
import { marginPropDefs as p } from "../props/margin.props.js";
import { switchPropDefs as l } from "./switch.props.js";
const n = r.forwardRef((t, o) => {
  const { className: s, color: e, radius: m, ...c } = h(t, l, p);
  return r.createElement(i, { "data-accent-color": e, "data-radius": m, ...c, asChild: !1, ref: o, className: a("rt-reset", "rt-SwitchRoot", s) }, r.createElement(f, { className: a("rt-SwitchThumb", { "rt-high-contrast": t.highContrast }) }));
});
n.displayName = "Switch";
export {
  n as Switch
};
//# sourceMappingURL=switch.js.map
