@seirei/carousel
Version:
A reusable, auto-scrolling carousel component for React Native built using **React Native Reanimated v2**, offering customizable pagination indicators, smooth animations, and infinite looping.
24 lines • 765 B
TypeScript
import { ViewStyle } from "react-native";
import React from "react";
export type CarouselWrapperProps = {
children: React.ReactNode[];
wrapperStyle?: ViewStyle;
autoSlide?: boolean;
snapDuration?: number;
activeSlideAccentColor?: string;
inactiveSlideAccentColor?: string;
dotSize?: number;
};
export type InfiniteCarouselWrapperProps = {
children: React.ReactNode[];
wrapperStyle?: ViewStyle;
autoSlide?: boolean;
snapDuration?: number;
activeSlideAccentColor?: string;
inactiveSlideAccentColor?: string;
dotSize?: number;
onSlideChange?: (index: number) => void;
contentPaddingHorizaintal?: number;
paginationComponent?: (index: number) => React.ReactNode;
};
//# sourceMappingURL=types.d.ts.map