react-native-reanimated-carousel
Version:
Simple carousel component.fully implemented using Reanimated 2.Infinitely scrolling, very smooth.
8 lines (7 loc) • 310 B
TypeScript
import type { TInitializeCarouselProps } from "./useInitProps";
import type { TAnimationStyle } from "../components/ItemLayout";
type TLayoutConfigOpts<T> = TInitializeCarouselProps<T> & {
size: number;
};
export declare function useLayoutConfig<T>(opts: TLayoutConfigOpts<T>): TAnimationStyle;
export {};