mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
[recharts] Add optional stroke prop to X and Y axes
This commit is contained in:
Vendored
+3
@@ -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> { }
|
||||
|
||||
Reference in New Issue
Block a user