Skip to content

Commit

Permalink
Fix line chart event props
Browse files Browse the repository at this point in the history
  • Loading branch information
JCQuintas committed Jun 24, 2024
1 parent 7566a1d commit b5ab7ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/x-charts/src/LineChart/useLineChartProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,21 +97,21 @@ export const useLineChartProps = (props: LineChartProps) => {
const areaPlotProps = {
slots,
slotProps,
onAreaClick,
onItemClick: onAreaClick,
skipAnimation,
};

const linePlotProps = {
slots,
slotProps,
onLineClick,
onItemClick: onLineClick,
skipAnimation,
};

const markPlotProps = {
slots,
slotProps,
onMarkClick,
onItemClick: onMarkClick,
skipAnimation,
};

Expand Down

0 comments on commit b5ab7ee

Please sign in to comment.