UNPKG

react-native-reanimated-carousel

Version:

Simple carousel component.fully implemented using Reanimated 2.Infinitely scrolling, very smooth.

17 lines (14 loc) 317 B
import type Animated from "react-native-reanimated"; import { Easing as _Easing } from "react-native-reanimated"; export enum DATA_LENGTH { SINGLE_ITEM = 1, DOUBLE_ITEM = 2, } export const Easing = { easeOutQuart: _Easing.bezier( 0.25, 1, 0.5, 1, ) as unknown as Animated.EasingFunction, };