UNPKG

@nivo/bullet

Version:
10 lines 519 B
import { Datum, CommonBulletProps } from './types'; export declare const useEnhancedData: (data: Datum[], { layout, maxValue, minValue, reverse, height, width, }: Pick<CommonBulletProps, "layout" | "reverse" | "height" | "width"> & Record<"maxValue" | "minValue", number | undefined>) => { scale: import("@nivo/scales").ScaleLinear<number>; id: import("./types").DatumId; title?: React.ReactNode; ranges: number[]; measures: number[]; markers?: number[]; }[]; //# sourceMappingURL=hooks.d.ts.map