From cd367bc61a50d9ac2e28564754d5fb069922493a Mon Sep 17 00:00:00 2001 From: George Cheng Date: Fri, 24 Apr 2020 03:19:10 +0800 Subject: [PATCH] recharts: Add "centerTop" and "centerBottom" (#44025) ...to PositionType. ref: https://github.com/recharts/recharts/pull/1348 --- types/recharts/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index 5ceadd0b80762c..8d4ffe40e38491 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -20,6 +20,7 @@ // Ville Kentta // Fabien Caylus // Samuel Weckstrom +// George Cheng // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -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' |