UNPKG

@past3lle/carousel-hooks

Version:

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

5 lines 680 B
import { AxisDirection, OverwritingOptions, SpringAnimationHookReturn, WithWindowSizeOptions } from '../types'; export declare function useLimitedSwipe<A extends any[]>(axis: AxisDirection, data: A, options?: OverwritingOptions, auxOptions?: WithWindowSizeOptions): SpringAnimationHookReturn; export declare function useLimitedHorizontalSwipe<A extends any[]>(data: A, options?: OverwritingOptions, auxOptions?: WithWindowSizeOptions): SpringAnimationHookReturn; export declare function useLimitedVerticalSwipe<A extends any[]>(data: A, options?: OverwritingOptions, auxOptions?: WithWindowSizeOptions): SpringAnimationHookReturn; //# sourceMappingURL=useLimitedSwipe.d.ts.map