From 1a625b241beb3c7c9a7a9dbc77850d169b636b95 Mon Sep 17 00:00:00 2001 From: Boris Serdiuk Date: Tue, 12 Mar 2024 23:41:20 +0100 Subject: [PATCH] chore: Add props reporting for line chart component --- src/line-chart/index.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/line-chart/index.tsx b/src/line-chart/index.tsx index 7977c2be73..13c10b0f09 100644 --- a/src/line-chart/index.tsx +++ b/src/line-chart/index.tsx @@ -22,7 +22,17 @@ function LineChart({ emphasizeBaselineAxis = true, ...props }: LineChartProps) { - const baseComponentProps = useBaseComponent('LineChart'); + const baseComponentProps = useBaseComponent('LineChart', { + props: { + detailPopoverSize, + emphasizeBaselineAxis, + fitHeight: props.fitHeight, + hideFilter: props.hideFilter, + hideLegend: props.hideLegend, + xScaleType, + yScaleType, + }, + }); const baseProps = getBaseProps(props); const className = clsx(baseProps.className, styles.root);