Skip to content

Commit

Permalink
recharts: Add "centerTop" and "centerBottom" (DefinitelyTyped#44025)
Browse files Browse the repository at this point in the history
...to PositionType.
ref: recharts/recharts#1348
  • Loading branch information
Gerhut authored Apr 23, 2020
1 parent 14817e7 commit cd367bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/recharts/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// Ville Kentta <https://github.com/vkentta>
// Fabien Caylus <https://github.com/fcaylus>
// Samuel Weckstrom <https://github.com/samuelweckstrom>
// George Cheng <https://github.com/Gerhut>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

Expand Down Expand Up @@ -49,7 +50,7 @@ export type ScaleType =
export type PositionType =
'top' | 'left' | 'right' | 'bottom' | 'inside' | 'outside' | 'insideLeft' | 'insideRight' |
'insideTop' | 'insideBottom' | 'insideTopLeft' | 'insideBottomLeft' | 'insideTopRight' |
'insideBottomRight' | 'insideStart' | 'insideEnd' | 'end' | 'center';
'insideBottomRight' | 'insideStart' | 'insideEnd' | 'end' | 'center' | 'centerTop' | 'centerBottom';
export type StackOffsetType = 'sign' | 'expand' | 'none' | 'wiggle' | 'silhouette';
export type LineType =
'basis' | 'basisClosed' | 'basisOpen' | 'linear' | 'linearClosed' | 'natural' |
Expand Down

0 comments on commit cd367bc

Please sign in to comment.