From 255a9b5643d79fe950dfc8fcd2134a76afbb8acd Mon Sep 17 00:00:00 2001 From: Boris Ablamunits Date: Wed, 2 May 2018 18:40:37 +0300 Subject: [PATCH] Add tickMargin to XAxisProps and YAxisProps (#25470) --- types/recharts/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index d1de1c2c46..b274430529 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -885,6 +885,8 @@ export interface XAxisProps extends EventAttributes { tickLine?: boolean | object; minTickGap?: number; tickSize?: number; + // The margin between tick line and the label + tickMargin?: number; interval?: AxisInterval; reversed?: boolean; // see label section at http://recharts.org/#/en-US/api/XAxis @@ -934,6 +936,8 @@ export interface YAxisProps extends EventAttributes { tickLine?: boolean | object; minTickGap?: number; tickSize?: number; + // The margin between tick line and the label + tickMargin?: number; interval?: AxisInterval; reversed?: boolean; // see label section at http://recharts.org/#/en-US/api/YAxis