victory-native
Version:
A charting library for React Native with a focus on performance and customization.
8 lines (7 loc) • 684 B
TypeScript
import React from "react";
import type { NumericalFields, AxisProps, InputFields } from "../../types";
export { CartesianAxisDefaultProps } from "../utils/axisDefaults";
/**
* @deprecated This component will eventually be replaced by the new, separate x/y/frame components.
*/
export declare const CartesianAxis: <RawData extends Record<string, unknown>, XK extends keyof InputFields<RawData>, YK extends keyof NumericalFields<RawData>>({ tickCount, xTicksNormalized, yTicksNormalized, labelPosition, labelOffset, axisSide, lineColor, lineWidth, labelColor, formatYLabel, formatXLabel, yScale, xScale, font, isNumericalData, ix, }: AxisProps<RawData, XK, YK>) => React.JSX.Element;