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