react-native-reanimated-carousel
Version:
Simple carousel component.fully implemented using Reanimated 2.Infinitely scrolling, very smooth.
14 lines (13 loc) • 553 B
TypeScript
import type { PropsWithChildren } from "react";
import React from "react";
import Animated from "react-native-reanimated";
import type { ILayoutConfig } from "./parallax";
import type { IVisibleRanges } from "../hooks/useVisibleRanges";
import type { IComputedDirectionTypes } from "../types";
export declare const ParallaxLayout: React.FC<PropsWithChildren<IComputedDirectionTypes<{
loop?: boolean;
handlerOffset: Animated.SharedValue<number>;
index: number;
dataLength: number;
visibleRanges: IVisibleRanges;
} & ILayoutConfig>>>;