From ed4c578fb087decc5667b2dc28ed81f466a3fa95 Mon Sep 17 00:00:00 2001 From: Eliot Ball Date: Fri, 18 Oct 2019 23:37:50 +0100 Subject: [PATCH] [recharts] Add label field to ReferenceDot (#39208) * Add label field to ReferenceDot * Update index.d.ts --- types/recharts/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index 304243f539..0758f39998 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -15,6 +15,7 @@ // Dave Vedder // Konstantin Azizov // Gonzalo Nicolas D'Elia +// Eliot Ball // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -709,6 +710,7 @@ export interface ReferenceDotProps extends EventAttributes, Partial> & { cx: number; cy: number; } > | React.ReactElement; + label: string | number | React.ReactElement | RechartsFunction; } export class ReferenceDot extends React.Component { }