UNPKG

423 BTypeScriptView Raw
1import type { FunctionComponent } from 'react';
2import { ScaleType, DataKey, AxisDomain } from '../util/types';
3export interface Props {
4 type?: 'number' | 'category';
5 name?: string | number;
6 unit?: string | number;
7 zAxisId?: string | number;
8 dataKey?: DataKey<any>;
9 range?: number[];
10 scale?: ScaleType | Function;
11 domain?: AxisDomain;
12}
13export declare const ZAxis: FunctionComponent<Props>;