@kashifd/jwero-components 0.5.16 → 0.5.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +5 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -38302,9 +38302,9 @@ const eI = ({
|
|
|
38302
38302
|
})
|
|
38303
38303
|
}
|
|
38304
38304
|
);
|
|
38305
|
-
}, oI = ({ checked: e = !1, onChange: t, sx: o }) => {
|
|
38306
|
-
const
|
|
38307
|
-
t == null || t(
|
|
38305
|
+
}, oI = ({ checked: e = !1, onChange: t, sx: o, disabled: r = !1 }) => {
|
|
38306
|
+
const s = (i) => {
|
|
38307
|
+
t == null || t(i.target.checked);
|
|
38308
38308
|
};
|
|
38309
38309
|
return /* @__PURE__ */ m.jsx(
|
|
38310
38310
|
yi,
|
|
@@ -38312,7 +38312,8 @@ const eI = ({
|
|
|
38312
38312
|
icon: /* @__PURE__ */ m.jsx(Om, {}),
|
|
38313
38313
|
checkedIcon: /* @__PURE__ */ m.jsx(Sm, {}),
|
|
38314
38314
|
checked: e,
|
|
38315
|
-
onChange:
|
|
38315
|
+
onChange: s,
|
|
38316
|
+
disabled: r,
|
|
38316
38317
|
sx: { padding: 0, margin: 0, ...o }
|
|
38317
38318
|
}
|
|
38318
38319
|
);
|