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 { }