react-native-reanimated-carousel
Version:
Simple carousel component.fully implemented using Reanimated 2.Infinitely scrolling, very smooth.
10 lines (9 loc) • 340 B
TypeScript
import type Animated from "react-native-reanimated";
import type { TCarouselProps } from "../types";
export declare function useOnProgressChange(opts: {
size: number;
autoFillData: boolean;
loop: boolean;
offsetX: Animated.SharedValue<number>;
rawDataLength: number;
} & Pick<TCarouselProps, "onProgressChange">): void;