react-swiper-feed
v0.0.7
Published
Swipper Component for ReactJs, Youtube shorts Instagram reels kind of implementation for ReactJs
Downloads
6
Maintainers
Readme
Introduction
This Component helps you implement the Instagram Reels, Youtube shorts kind of feed for your application. It can display the feed of your choice list of images, videos or your custom components
Getting Started with React Swipper Feed
npm react-swiper-feed
Usage
import Swipper from 'react-swiper-feed'
<Swipper goBack={()=>{
//your custom function will be called on clicking the backbutton
}}>
<img src="http://placehold.it/500x500" alt="placeholder1" />
<img src="http://placehold.it/500x500" alt="placeholder1" />
<img src="http://placehold.it/500x500" alt="placeholder1" />
<img src="http://placehold.it/500x500" alt="placeholder1" />
</Swipper>
<Swipper>
<Video src="http://placehold.it/500x500" alt="placeholder1" />
<Video src="http://placehold.it/500x500" alt="placeholder1" />
</Swipper>
<Swipper>
<YourComponent1 attr="1" />
<YourComponent1 attr="1"/>
</Swipper>