UNPKG

react-native-reanimated-carousel

Version:

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

14 lines (10 loc) 293 B
import React from "react"; import type { TInitializeCarouselProps } from "../hooks/useInitProps"; export interface IContext { props: TInitializeCarouselProps<any> common: { size: number validLength: number } } export const CTX = React.createContext<IContext>({} as IContext);