Files
edr-platform/apps/edr-freight-web/backoffice/public/_um/assets/switch-BNCD27Bd.js
2026-06-13 14:32:26 +03:00

2 lines
344 B
JavaScript

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};