diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index dc96bdbe46..0cf9898638 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -10,6 +10,7 @@ // Jamie Saunders // Paul Melnikow // Harry Cruse +// Andrew Palugniok // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -917,6 +918,7 @@ export interface XAxisProps extends EventAttributes { // see label section at http://recharts.org/#/en-US/api/XAxis label?: string | number | Label | LabelProps; allowDuplicatedCategory?: boolean; + stroke?: string; } export class XAxis extends React.Component { } @@ -968,6 +970,7 @@ export interface YAxisProps extends EventAttributes { reversed?: boolean; // see label section at http://recharts.org/#/en-US/api/YAxis label?: string | number | Label | LabelProps; + stroke?: string; } export class YAxis extends React.Component { }