import{j as m,b8 as p}from"./index-Db-xuq0b.js";import{S as o}from"./Switch-DSHMk-sj.js";function S({className:t,checked:s,onCheckedChange:r,disabled:i,...a}){return m.jsx(o,{checked:s,onChange:c=>r==null?void 0:r(c.currentTarget.checked),disabled:i,classNames:{track:p("cursor-pointer","data-checked:bg-primary bg-input",t)},...a})}export{S};
