"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");exports.Toggle=function(t){var o=t.isEnabled,i=t.onToggle,r=t.isDisabled,s=void 0!==r&&r;return e.jsx("button",{type:"button",role:"switch",onClick:s?void 0:i,className:"toggle-switch ".concat(o?"enabled":""," ").concat(s?"disabled":""),"aria-checked":o,disabled:s,style:{opacity:s?.5:1,cursor:s?"not-allowed":"pointer"}})};
//# sourceMappingURL=Toggle.js.map
