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