From 5aeab8241c1313a15dfc0f1a2f789a58bbd95cdd Mon Sep 17 00:00:00 2001 From: "Remo H. Jansen" Date: Wed, 13 Dec 2017 09:52:53 +0000 Subject: [PATCH] Added missing IconType https://github.com/recharts/recharts/pull/985 --- types/recharts/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index 7d42cee0d3..730c320408 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -21,7 +21,7 @@ export type ItemSorter = (a: T, b: T) => number; export type ContentRenderer

= (props: P) => React.ReactNode; export type DataKey = string | number | ((dataObject: any) => number | [number, number]); -export type IconType = 'line' | 'square' | 'rect' | 'circle' | 'cross' | 'diamond' | 'star' | 'triangle' | 'wye' | 'plainline'; +export type IconType = 'plainline' | 'line' | 'square' | 'rect' | 'circle' | 'cross' | 'diamond' | 'star' | 'triangle' | 'wye' | 'plainline'; export type LegendType = IconType | 'none'; export type LayoutType = 'horizontal' | 'vertical'; export type AnimationEasingType = 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear';