@redsift/charts 9.2.3-patch.2 → 9.2.4-muiv5

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/index.js CHANGED
@@ -2109,7 +2109,8 @@ const RenderedPieChart = /*#__PURE__*/forwardRef((props, ref) => {
2109
2109
  color: colorScale === null || colorScale === void 0 ? void 0 : colorScale(d.key)
2110
2110
  })),
2111
2111
  variant: labelVariant === PieChartLabelVariant.externalLabelValue ? LabelVariant.value : labelVariant === PieChartLabelVariant.externalLabelPercent ? LabelVariant.percent : LabelVariant.label,
2112
- width: legendWidth.current
2112
+ width: legendWidth.current,
2113
+ labelDecorator: labelDecorator ? datum => labelDecorator(datum) : undefined
2113
2114
  }, legendProps)) : null);
2114
2115
  });
2115
2116