import{jsx as e}from"react/jsx-runtime";var o=function(o){var t=o.isEnabled,a=o.onToggle,i=o.isDisabled,c=void 0!==i&&i;return e("button",{type:"button",role:"switch",onClick:c?void 0:a,className:"toggle-switch ".concat(t?"enabled":""," ").concat(c?"disabled":""),"aria-checked":t,disabled:c,style:{opacity:c?.5:1,cursor:c?"not-allowed":"pointer"}})};export{o as Toggle};
//# sourceMappingURL=Toggle.js.map
