@redsift/charts 11.4.0-muiv5-alpha.2 → 11.4.0-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.d.ts +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -879,7 +879,7 @@ declare const BarChart: Comp<BarChartProps, HTMLDivElement> & {
|
|
|
879
879
|
GroupedTooltip: React$1.FC<{
|
|
880
880
|
dateFormatter: (date: Date) => string;
|
|
881
881
|
categories: string[];
|
|
882
|
-
categoryDecorator
|
|
882
|
+
categoryDecorator?: ((category: string) => string) | undefined;
|
|
883
883
|
categoryColor: (category: string) => string;
|
|
884
884
|
datum: BarDatum;
|
|
885
885
|
groupedData: ComputedBarProps[] | undefined;
|
package/index.js
CHANGED
|
@@ -2076,7 +2076,7 @@ const BarChartGroupedTooltip = _ref => {
|
|
|
2076
2076
|
fontWeight: "400",
|
|
2077
2077
|
fontSize: "14px",
|
|
2078
2078
|
lineHeight: "18px"
|
|
2079
|
-
}, categoryDecorator(category)), /*#__PURE__*/React__default.createElement(Text, {
|
|
2079
|
+
}, categoryDecorator ? categoryDecorator(category) : category), /*#__PURE__*/React__default.createElement(Text, {
|
|
2080
2080
|
fontWeight: "600",
|
|
2081
2081
|
fontSize: "14px",
|
|
2082
2082
|
lineHeight: "18px"
|