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