0.1.2 • Published 11 months ago
react-story-carousel v0.1.2
How to use
react story carousel like instagram and whatsApp where you can put your own image Animation you just have to pass your className through the component as props like :
npm i react-story-carousel
# or
yarn add react-story-carousel
import Carousel from react-story-carousel
let data = [
{
images : "https://images.pexels.com/photos/17168340/pexels-photo-17168340.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2",
text : "your text that contain with images",
header : "text header"
}
]
<Carousel
Sliders = {data}
autoSlide = {true}
interval = {5000}
animationClass = {"yourClassName"}
textAnimationClass ={"your text animation className"}
/>