react-luminus-components 1.5.11 → 1.5.12
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.
|
@@ -21,6 +21,7 @@ type LineChartProps<DataType extends OnlyAttrExtending<DataType, LineChartValidV
|
|
|
21
21
|
variant?: 'default' | 'sideContent';
|
|
22
22
|
legendPosition?: 'bottom' | 'right' | 'none';
|
|
23
23
|
noSort?: boolean;
|
|
24
|
+
unit?: string;
|
|
24
25
|
};
|
|
25
|
-
declare const LineChart: <DataType extends OnlyAttrExtending<DataType, LineChartValidValue>>({ data, xKey, yKeys, translateKey, usePercentageValue, variant, legendPosition: propLegendPosition, noSort, }: LineChartProps<DataType>) => import("react").JSX.Element;
|
|
26
|
+
declare const LineChart: <DataType extends OnlyAttrExtending<DataType, LineChartValidValue>>({ data, xKey, yKeys, translateKey, usePercentageValue, variant, legendPosition: propLegendPosition, noSort, unit, }: LineChartProps<DataType>) => import("react").JSX.Element;
|
|
26
27
|
export default LineChart;
|
|
@@ -7,6 +7,7 @@ type LineChartTooltipProps<DataType extends OnlyAttrExtending<DataType, LineChar
|
|
|
7
7
|
val: PointTooltipProps;
|
|
8
8
|
translateKey: (key: Extract<keyof DataType, LineChartValidKey>) => string;
|
|
9
9
|
data: ReadonlyArray<DataType>;
|
|
10
|
+
unit?: string;
|
|
10
11
|
};
|
|
11
|
-
declare const LineChartTooltip: <DataType extends OnlyAttrExtending<DataType, LineChartValidValue>>({ val, translateKey, data, }: LineChartTooltipProps<DataType>) => import("react").JSX.Element;
|
|
12
|
+
declare const LineChartTooltip: <DataType extends OnlyAttrExtending<DataType, LineChartValidValue>>({ val, translateKey, data, unit, }: LineChartTooltipProps<DataType>) => import("react").JSX.Element;
|
|
12
13
|
export default LineChartTooltip;
|