UNPKG

@apptane/react-ui-charts

Version:
10 lines (9 loc) 622 B
import { DomainValue } from "../common/Types.js"; import { ChartAxisProps } from "./ChartAxis.types.js"; export declare type ChartAxisPropsEx<T extends DomainValue> = ChartAxisProps<T> & { extent: number; format: (value: T) => string; ticks: T[]; tickPosition: (value: T) => number | undefined; }; export declare function ChartAxis<T extends DomainValue>({ componentId, theme, colorMode, orientation, offset, span, extent, textOffset, axisVisible, tickSize, tickVisible, tickPosition, format, ticks, title, }: ChartAxisPropsEx<T>): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;