'use client';
'use strict';

var _tslib = require('../_virtual/_tslib.js');
var index_module = require('../external/@radix-ui/react-switch/dist/index.module.js');
var index = require('../external/classnames/index.js');
var React = require('react');
var switch_module = require('./switch.module.css.js');

var Root = React.forwardRef(function Switch(_a, ref) {
    var className = _a.className, otherProps = _tslib.__rest(_a, ["className"]);
    return React.createElement(index_module.Root, _tslib.__assign({ ref: ref, className: index(className, switch_module.root) }, otherProps));
});
var Thumb = React.forwardRef(function Thumb(_a, ref) {
    var className = _a.className, otherProps = _tslib.__rest(_a, ["className"]);
    return React.createElement(index_module.Thumb, _tslib.__assign({ ref: ref, className: index(className, switch_module.thumb) }, otherProps));
});
var Switch = { Root: Root, Thumb: Thumb };

exports.Root = Root;
exports.Switch = Switch;
exports.Thumb = Thumb;
//# sourceMappingURL=switch.js.map
