import{j as e}from"./main.2.8.10.js";function x({className:a,title:s,action:c,disabled:l,checked:t,name:i=null}){const n=d=>{l||c(d)};return e.jsxs("div",{className:`${a}`,children:[e.jsx("span",{children:s}),e.jsxs("label",{className:"btcd-label",children:[e.jsxs("div",{className:"btcd-toggle",children:[e.jsx("input",{"aria-label":s,onChange:n,className:"btcd-toggle-state",type:"checkbox",name:i||"check",value:"check",checked:t}),e.jsx("div",{className:"btcd-toggle-inner",children:e.jsx("div",{className:"btcd-indicator"})}),e.jsx("div",{className:"btcd-active-bg"})]}),e.jsx("div",{className:"btcd-label-text"})]})]})}export{x as S};
