1.0.12 • Published 1 year ago
swiper-cum-carousel v1.0.12
React Native Swiper & Carousel
(swiper-cum-carousel)
Flexible, lightweight and fully customizable Swiper as well as Carousel wrapper for your React Native app components, images or cards.
Important
Basically, <SwiperCumCarousel>
for React Native is a wrapper to wrap around your components/children & convert it into a slider / slideshow/ swiper, (e.g. best for onboarding screens).
It can also be used as Carousel displaying multiple components in single view at a time, (e.g. product cards of flipkart/ecommerce).
Thus, 2 in 1 premade swiper-cum-carousel
for ease of any swipe in React Native. (examples below)
Installation
npm i swiper-cum-carousel
oryarn add swiper-cum-carousel
cd ios && pod install
Use
import SwiperCumCarousel from 'swiper-cum-carousel'
<SwiperCumCarousel>
..two or more children
</SwiperCumCarousel>
Props
(items
prop to make carousel active)
Contact me at mohit.chawla@workmail.com