diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index 34e3cbcb88..97bbdbf354 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -363,6 +363,7 @@ export interface LegendPayload { value: any; id: any; type: LegendType; + color?: string; } export type BBoxUpdateCallback = (box: { width: number; height: number; }) => void;