Add tickMargin to XAxisProps and YAxisProps (#25470)

This commit is contained in:
Boris Ablamunits 2018-05-02 18:40:37 +03:00 committed by Andy
parent de70166aa8
commit 255a9b5643

View File

@ -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