From 1a1c4602f6133a514f7216a59bdde22a34bbfb40 Mon Sep 17 00:00:00 2001 From: Alexandre Fauquette <45398769+alexfauquette@users.noreply.github.com> Date: Wed, 18 Sep 2024 12:00:23 +0200 Subject: [PATCH] [charts] Fix legend slot typing (#14657) --- packages/x-charts/src/ChartsLegend/ChartsLegend.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/x-charts/src/ChartsLegend/ChartsLegend.tsx b/packages/x-charts/src/ChartsLegend/ChartsLegend.tsx index e371d170bae4c..de75c3dfc288a 100644 --- a/packages/x-charts/src/ChartsLegend/ChartsLegend.tsx +++ b/packages/x-charts/src/ChartsLegend/ChartsLegend.tsx @@ -23,11 +23,11 @@ export interface ChartsLegendSlots { * Custom rendering of the legend. * @default DefaultChartsLegend */ - legend?: React.JSXElementConstructor; + legend?: React.JSXElementConstructor; } export interface ChartsLegendSlotProps { - legend?: Partial; + legend?: Partial; } export interface ChartsLegendProps extends ChartsLegendPropsBase {