import { jsx as _jsx } from "react/jsx-runtime";
import { Circle, Wrapper } from "./styled";
const Toggle = (props) => (_jsx(Wrapper, { className: `ui-toggle__wrapper ${props.className}`, isOn: props.disabled ? false : props.isOn, onClick: props.onSwitch, children: _jsx(Circle, {}) }));
export default Toggle;
//# sourceMappingURL=index.js.map