UNPKG

@past3lle/carousel-hooks

Version:

PASTELLE carousel animation hooks built on top of @usegesture and react-springs

9 lines 953 B
import useInfiniteHorizontalScroll from './hooks/useInfiniteHorizontalScroll'; import useInfiniteVerticalScroll from './hooks/useInfiniteVerticalScroll'; import { useLimitedHorizontalSwipe, useLimitedVerticalSwipe } from './hooks/useLimitedSwipe'; import { usePinchZoomAndDrag } from './hooks/usePinchDragAndZoom'; import type { AxisDirection, InfiniteScrollHookOptions, InfiniteScrollOptions, SizeOptions, SpringAnimationHookReturn, WithWindowSizeOptions } from './types'; import useScrollingAnimationSetup from './utils/useScrollSetup'; import useScrollZoneRef from './utils/useScrollZoneRef'; export { useScrollZoneRef, useLimitedHorizontalSwipe, useLimitedVerticalSwipe, useInfiniteHorizontalScroll, useInfiniteVerticalScroll, useScrollingAnimationSetup, usePinchZoomAndDrag, AxisDirection, InfiniteScrollHookOptions, InfiniteScrollOptions, SpringAnimationHookReturn, SizeOptions, WithWindowSizeOptions }; //# sourceMappingURL=index.d.ts.map