Skip to content

Commit 1d9f433

Browse files
export new globalhealthBar
1 parent 38c5f62 commit 1d9f433

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/lib/components/globalhealthbar/GlobalHealthBar.component.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ export type GlobalHealthProps = {
1919
height?: number;
2020
tooltipPosition?: Position;
2121
};
22-
22+
/**
23+
* @deprecated Use GlobalHealthBar v2 instead
24+
* @example import { GlobalHealthBar } from '@scality/core-ui/dist/next';
25+
*/
2326
function GlobalHealthBar({
2427
id,
2528
alerts,

src/lib/next.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ export { ChartLegendWrapper } from './components/chartlegend/ChartLegendWrapper'
2626
export { ChartLegend } from './components/chartlegend/ChartLegend';
2727
export { LineTimeSerieChart } from './components/linetimeseriechart/linetimeseriechart.component';
2828
export { CoreUITheme } from './style/theme';
29+
export { GlobalHealthBar } from './components/globalhealthbar/GlobalHealthBarRecharts.component';

0 commit comments

Comments
 (0)