mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Add tickMargin to XAxisProps and YAxisProps (#25470)
This commit is contained in:
4
types/recharts/index.d.ts
vendored
4
types/recharts/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user