@pdg/react-table 1.0.51 → 1.0.53

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
@@ -3255,7 +3255,12 @@ var native = {
3255
3255
  return (_b = column.head) === null || _b === void 0 ? void 0 : _b.onRender();
3256
3256
  }
3257
3257
  else {
3258
- return column.label;
3258
+ if (typeof column.label === 'string') {
3259
+ return React.createElement("div", { dangerouslySetInnerHTML: { __html: column.label } });
3260
+ }
3261
+ else {
3262
+ return column.label;
3263
+ }
3259
3264
  }
3260
3265
  }
3261
3266
  }, [checkDisabled, checked, column, onCheckChange]);