UNPKG

recharts

Version:
23 lines (22 loc) 650 B
import type { FunctionComponent, SVGProps } from 'react'; import { BaseAxisProps, AxisInterval } from '../util/types'; interface XAxisProps extends BaseAxisProps { xAxisId?: string | number; width?: number; height?: number; mirror?: boolean; orientation?: 'top' | 'bottom'; ticks?: (string | number)[]; padding?: { left?: number; right?: number; }; minTickGap?: number; interval?: AxisInterval; reversed?: boolean; angle?: number; tickMargin?: number; } export declare type Props = SVGProps<SVGElement> & XAxisProps; export declare const XAxis: FunctionComponent<Props>; export {};