react-native-reanimated-carousel
Version:
Simple carousel component.fully implemented using Reanimated 2.Infinitely scrolling, very smooth.
18 lines (17 loc) • 554 B
TypeScript
import type { PropsWithChildren } from "react";
import React from "react";
import type { StyleProp, ViewStyle } from "react-native";
import Animated from "react-native-reanimated";
interface Props {
size: number;
infinite?: boolean;
testID?: string;
style?: StyleProp<ViewStyle>;
onScrollBegin?: () => void;
onScrollEnd?: () => void;
onTouchBegin?: () => void;
onTouchEnd?: () => void;
translation: Animated.SharedValue<number>;
}
export declare const ScrollViewGesture: React.FC<PropsWithChildren<Props>>;
export {};