/react-native-cards-slider

A simple cards slider implement use ScrollView working right on iOS and Android.

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

react-native-cards-slider

A simple cards slider implement use ScrollView working right on iOS and Android.

usage

npm install git+https://github.com/ytqiu/react-native-cards-slider.git --save

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

// card item will be wrapped by a <View /> which using default props.
<CarouselCard
      data = {[1, 2, 3]}
      onPress = {item => {}}
      contentRender = {item => {
          return (
              <Text>{item}</Text>
          )
      }} 
  />

snapshot

react-native-cards-slider react-native-cards-slider