UNPKG

victory-native

Version:

A charting library for React Native with a focus on performance and customization.

5 lines (4 loc) 608 B
import React from "react"; import type { InputFields, XAxisProps } from "../../types"; export { XAxisDefaults } from "../utils/axisDefaults"; export declare const XAxis: <RawData extends Record<string, unknown>, XK extends keyof InputFields<RawData>, Label = InputFields<RawData>[XK]>({ xScale: xScaleProp, yScale, axisSide, labelPosition, labelRotate, tickCount, tickValues, labelOffset, labelColor, lineWidth, lineColor, font, title, labelRenderer, formatXLabel, ix, isNumericalData, linePathEffect, chartBounds, orientation, enableRescaling, zoom, }: XAxisProps<RawData, XK, Label>) => React.JSX.Element;