diff --git a/packages/@mantine/charts/src/AreaChart/AreaChart.tsx b/packages/@mantine/charts/src/AreaChart/AreaChart.tsx index 9718286f018..88d7ddb08f3 100644 --- a/packages/@mantine/charts/src/AreaChart/AreaChart.tsx +++ b/packages/@mantine/charts/src/AreaChart/AreaChart.tsx @@ -181,6 +181,7 @@ export const AreaChart = factory((_props, ref) => { onMouseLeave, orientation, referenceLines, + dir, ...others } = props; @@ -296,7 +297,13 @@ export const AreaChart = factory((_props, ref) => { }); return ( - + ((_props, ref) => { barChartProps, type, orientation, + dir, ...others } = props; @@ -205,7 +206,13 @@ export const BarChart = factory((_props, ref) => { }); return ( - + ((_props, ref) => { fillOpacity, curveType, orientation, + dir, ...others } = props; @@ -235,7 +236,13 @@ export const LineChart = factory((_props, ref) => { }); return ( - + {withLegend && ( diff --git a/packages/@mantine/charts/src/Sparkline/Sparkline.tsx b/packages/@mantine/charts/src/Sparkline/Sparkline.tsx index d6d910ea77d..62eea4e725e 100644 --- a/packages/@mantine/charts/src/Sparkline/Sparkline.tsx +++ b/packages/@mantine/charts/src/Sparkline/Sparkline.tsx @@ -99,7 +99,7 @@ export const Sparkline = factory((_props, ref) => { const mappedData = useMemo(() => data.map((value, index) => ({ value, index })), [data]); return ( - +