@macrostrat/column-components
Version:
React rendering primitives for stratigraphic columns
26 lines (25 loc) • 853 B
TypeScript
import { ScaleContinuousNumeric } from 'd3-scale';
interface ColumnAxisProps {
ticks?: number;
tickArguments?: any;
tickValues?: any;
tickFormat?: any;
tickSize?: any;
tickSizeInner?: any;
tickSizeOuter?: any;
tickPadding?: any;
tickSpacing?: number;
showLabel?: (d: any) => boolean;
showDomain?: boolean;
className?: string;
}
interface AgeAxisProps extends ColumnAxisProps {
scale: ScaleContinuousNumeric<number, number>;
minTickSpacing?: number;
}
export declare function ColumnAxis(props: ColumnAxisProps): import('react').FunctionComponentElement<AgeAxisProps>;
export declare function AgeAxis(props: AgeAxisProps): import('react').ReactElement<{
className: string | undefined;
ref: import('react').RefObject<null>;
}, string | import('react').JSXElementConstructor<any>>;
export {};