'use strict';

var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
var index = require('../../node_modules/.pnpm/@radix-ui_react-switch@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.cjs');
var index$1 = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
var React = require('react');
var switch_module = require('./switch.module.css.cjs');

const switchVariants = index$1.cva(switch_module.default.switch);
const Switch = React.forwardRef(({ className, disabled, required, ...props }, forwardedRef) => (jsxRuntime.jsxRuntimeExports.jsx(index.Root, { ...props, ref: forwardedRef, disabled: disabled, required: required, className: switchVariants({ className }), "data-disabled": disabled, children: jsxRuntime.jsxRuntimeExports.jsx(SwitchThumb, {}) })));
const thumbVariants = index$1.cva(switch_module.default.thumb);
const SwitchThumb = React.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx(index.Thumb, { ref: ref, className: thumbVariants({ className }), ...props })));
Switch.displayName = "Switch";

exports.Switch = Switch;
//# sourceMappingURL=switch.cjs.map
