myshell-react-lib 0.2.5 → 0.2.6

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 CHANGED
@@ -6621,9 +6621,11 @@ function createIconButtonWithVariant(props, ref) {
6621
6621
  ref: ref,
6622
6622
  disabled: disable
6623
6623
  }, passProps), {
6624
- children: loading ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react2.Loader2, {
6624
+ children: loading ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Icon, {
6625
+ component: import_lucide_react2.Loader2,
6625
6626
  className: cn("animate-spin", iconCls)
6626
- }) : IconEle ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(IconEle, {
6627
+ }) : IconEle ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Icon, {
6628
+ component: IconEle,
6627
6629
  className: iconCls
6628
6630
  }) : React14.isValidElement(children) ? React14.cloneElement(children, {
6629
6631
  className: cn(iconCls, children.props.className)