react-native-card-carousel

infinite card style carousel for react-native project

Usage no npm install needed!

<script type="module">
  import reactNativeCardCarousel from 'https://cdn.skypack.dev/react-native-card-carousel';
</script>

README

react-native-card-carousel

infinite card style carousel for react-native project


Demo



Install

npm install react-native-card-carousel --save


Usage

import CarouselCard from 'react-native-card-carousel'

<CarouselCard
    height={250}
    autoplay
    interval={4000}
    data={itemArr}
    onPress={item => {}}
    contentRender={item => <CustomView item = {item} />}
/>