Skip to content

Commit 7c19994

Browse files
authored
chore: Add props reporting for line chart component (#2063)
1 parent 961ecb0 commit 7c19994

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/line-chart/index.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,17 @@ function LineChart<T extends number | string | Date>({
2222
emphasizeBaselineAxis = true,
2323
...props
2424
}: LineChartProps<T>) {
25-
const baseComponentProps = useBaseComponent('LineChart');
25+
const baseComponentProps = useBaseComponent('LineChart', {
26+
props: {
27+
detailPopoverSize,
28+
emphasizeBaselineAxis,
29+
fitHeight: props.fitHeight,
30+
hideFilter: props.hideFilter,
31+
hideLegend: props.hideLegend,
32+
xScaleType,
33+
yScaleType,
34+
},
35+
});
2636
const baseProps = getBaseProps(props);
2737
const className = clsx(baseProps.className, styles.root);
2838

0 commit comments

Comments
 (0)