1 | import type { FunctionComponent, SVGProps } from 'react';
|
2 | import { BaseAxisProps, AxisInterval } from '../util/types';
|
3 | interface XAxisProps extends BaseAxisProps {
|
4 | xAxisId?: string | number;
|
5 | width?: number;
|
6 | height?: number;
|
7 | mirror?: boolean;
|
8 | orientation?: 'top' | 'bottom';
|
9 | ticks?: (string | number)[];
|
10 | padding?: {
|
11 | left?: number;
|
12 | right?: number;
|
13 | } | 'gap' | 'no-gap';
|
14 | minTickGap?: number;
|
15 | interval?: AxisInterval;
|
16 | reversed?: boolean;
|
17 | angle?: number;
|
18 | tickMargin?: number;
|
19 | }
|
20 | export type Props = Omit<SVGProps<SVGElement>, 'scale'> & XAxisProps;
|
21 | export declare const XAxis: FunctionComponent<Props>;
|
22 | export {};
|