UNPKG

react-native-momentum-carousel

Version:

A React Native carousel component enables smooth and interactive image or content sliders with swiping capabilities. Ideal for showcasing multiple items or images in a compact space, this carousel can be customized with features like infinite scrolling, p

20 lines 809 B
import React from 'react'; import { View, StyleProp, ViewStyle, ListRenderItem, ListRenderItemInfo } from 'react-native'; import { SharedValue } from 'react-native-reanimated'; import { CarouselMomentumAnimationType } from './CarouselMomentum'; export interface ItemCarouselProps { getHandleItemInternalRef: (index: number) => (_ref: View | null) => void; itemWidth: number; itemHeight: number; itemStyle?: StyleProp<ViewStyle>; renderItem: ListRenderItem<any>; info: ListRenderItemInfo<any>; scrollX: SharedValue<number>; inactiveScale?: number; animation: CarouselMomentumAnimationType; vertical: boolean; customAnimation?: boolean; } declare const ItemCarousel: React.FC<ItemCarouselProps>; export default ItemCarousel; //# sourceMappingURL=ItemCarousel.d.ts.map