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.js CHANGED
@@ -5892,9 +5892,11 @@ function createIconButtonWithVariant(props, ref) {
5892
5892
  ref: ref,
5893
5893
  disabled: disable
5894
5894
  }, passProps), {
5895
- children: loading ? /* @__PURE__ */ jsx16(Loader22, {
5895
+ children: loading ? /* @__PURE__ */ jsx16(Icon, {
5896
+ component: Loader22,
5896
5897
  className: cn("animate-spin", iconCls)
5897
- }) : IconEle ? /* @__PURE__ */ jsx16(IconEle, {
5898
+ }) : IconEle ? /* @__PURE__ */ jsx16(Icon, {
5899
+ component: IconEle,
5898
5900
  className: iconCls
5899
5901
  }) : React14.isValidElement(children) ? React14.cloneElement(children, {
5900
5902
  className: cn(iconCls, children.props.className)