0.0.7 • Published 2 years ago

react-swiper-feed v0.0.7

Weekly downloads
-
License
GPL
Repository
-
Last release
2 years ago

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>

Demo

Watch the demo video