import * as React from "react";
import y from "../../../../../../../../../_virtual/index12.js";
import { extractProps as v } from "../helpers/extract-props.js";
import { marginPropDefs as r } from "../props/margin.props.js";
import { switchPropDefs as a } from "./switch.props.js";
import { Root, Thumb } from "../../../../../../../@radix-ui_react-switch@1.2.6_@types_react-dom@19.1.9_@types_react@19.1.13__@types_react_eab2ad8ab890136768b788cc2152d5c7/node_modules/@radix-ui/react-switch/dist/index.js";
const i = React.forwardRef((o, p) => {
  const { className: s, color: m, radius: c, ...a$1 } = v(o, a, r);
  return React.createElement(Root, { "data-accent-color": m, "data-radius": c, ...a$1, asChild: false, ref: p, className: y("rt-reset", "rt-SwitchRoot", s) }, React.createElement(Thumb, { className: y("rt-SwitchThumb", { "rt-high-contrast": o.highContrast }) }));
});
i.displayName = "Switch";
export {
  i as Switch
};
//# sourceMappingURL=switch.js.map
