myshell-react-lib 0.2.6 → 0.2.7
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.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6621,12 +6621,12 @@ function createIconButtonWithVariant(props, ref) {
|
|
|
6621
6621
|
ref: ref,
|
|
6622
6622
|
disabled: disable
|
|
6623
6623
|
}, passProps), {
|
|
6624
|
-
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
6625
|
-
|
|
6624
|
+
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react2.Loader2, {
|
|
6625
|
+
strokeWidth: 1.5,
|
|
6626
6626
|
className: cn("animate-spin", iconCls)
|
|
6627
|
-
}) : IconEle ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
6628
|
-
|
|
6629
|
-
|
|
6627
|
+
}) : IconEle ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(IconEle, {
|
|
6628
|
+
className: iconCls,
|
|
6629
|
+
strokeWidth: 1.5
|
|
6630
6630
|
}) : React14.isValidElement(children) ? React14.cloneElement(children, {
|
|
6631
6631
|
className: cn(iconCls, children.props.className)
|
|
6632
6632
|
}) : null
|