[recharts] Add optional stroke prop to X and Y axes

This commit is contained in:
Andrew Palugniok
2018-08-15 18:50:25 +01:00
parent 2d89067eb2
commit 6d32c2cc52
+3
View File
@@ -10,6 +10,7 @@
// Jamie Saunders <https://github.com/jrsaunde>
// Paul Melnikow <https://github.com/paulmelnikow>
// Harry Cruse <https://github.com/crusectrl>
// Andrew Palugniok <https://github.com/apalugniok>
// 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<XAxisProps> { }
@@ -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<YAxisProps> { }