@udi-organization/udi-package 1.0.51 → 1.0.56

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.esm.js CHANGED
@@ -850,6 +850,7 @@ var ActionButton = function ActionButton(_ref) {
850
850
  return action.render(row);
851
851
  }
852
852
  if (action.skip) return null;
853
+ var IconComponent = action.icon;
853
854
  return /*#__PURE__*/jsx("button", {
854
855
  onClick: function onClick() {
855
856
  return action.onClick(row);
@@ -862,7 +863,7 @@ var ActionButton = function ActionButton(_ref) {
862
863
  fontSize: "26px"
863
864
  },
864
865
  disabled: action.disabled,
865
- children: action.icon
866
+ children: typeof IconComponent === 'function' ? /*#__PURE__*/jsx(IconComponent, {}) : IconComponent
866
867
  }, "action-".concat(actionIndex));
867
868
  };
868
869