mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-01 03:20:46 +08:00
Merge pull request #21862 from ngub/patch-3
[recharts]: added missing IconType
This commit is contained in:
2
types/recharts/index.d.ts
vendored
2
types/recharts/index.d.ts
vendored
@@ -21,7 +21,7 @@ export type ItemSorter<T> = (a: T, b: T) => number;
|
||||
export type ContentRenderer<P> = (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';
|
||||
export type IconType = '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';
|
||||
|
||||
Reference in New Issue
Block a user