UNPKG

@visx/drag

Version:
10 lines 325 B
import { UseDragOptions } from '../useDrag'; /** Restrict a point to an area, or samples along a path. */ export default function restrictPoint(point: { x: number; y: number; }, samples: DOMPoint[], restrict?: UseDragOptions['restrict']): { x: number; y: number; }; //# sourceMappingURL=restrictPoint.d.ts.map