mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #29259 from Arcath/tickformatter-is-optional
recharts - tickFormatter is optional for Polar Axis
This commit is contained in:
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Recharts 1.0
|
||||
// Type definitions for Recharts 1.1
|
||||
// Project: http://recharts.org/
|
||||
// Definitions by: Maarten Mulders <https://github.com/mthmulders>
|
||||
// Raphael Mueller <https://github.com/rapmue>
|
||||
@@ -484,7 +484,7 @@ export interface PolarAngleAxisProps extends EventAttributes, Partial<Presentati
|
||||
ticks?: PolarAngleAxisTick[];
|
||||
stroke?: string;
|
||||
orientation?: 'inner' | 'outer';
|
||||
tickFormatter: TickFormatterFunction;
|
||||
tickFormatter?: TickFormatterFunction;
|
||||
}
|
||||
|
||||
export class PolarAngleAxis extends React.Component<PolarAngleAxisProps> { }
|
||||
@@ -521,7 +521,7 @@ export interface PolarRadiusAxisProps extends EventAttributes, Partial<Presentat
|
||||
axisLine?: boolean | object;
|
||||
tick?: boolean | object | React.ReactElement<any> | ContentRenderer<any>;
|
||||
stroke?: string;
|
||||
tickFormatter: TickFormatterFunction;
|
||||
tickFormatter?: TickFormatterFunction;
|
||||
domain?: [PolarRadiusAxisDomain, PolarRadiusAxisDomain];
|
||||
scale?: ScaleType | RechartsFunction;
|
||||
allowDataOverflow?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user