UNPKG

victory-native

Version:

A charting library for React Native with a focus on performance and customization.

8 lines (7 loc) 299 B
import type { CartesianChartOrientation } from "../../types"; export declare const getClosestDatumIndex: ({ orientation, categoryPositions, touchX, touchY, }: { orientation: CartesianChartOrientation; categoryPositions: number[]; touchX: number; touchY: number; }) => number | null;