react-advanced-carousel
v0.0.0-alpha.3
Published
Advanced Carousel for React
Downloads
10
Readme
react-advanced-carousel
Advanced Carousel for React
Install
npm install react-advanced-carousel
or
yarn add react-advanced-carousel
Usage
import React from 'react'
import Carousel from 'react-advanced-carousel'
const items = [
{ id: 1, name: 'first' },
{ id: 2, name: 'second' },
{ id: 3, name: 'third' },
]
const MyCarousel = () => {
return (
<>
<h1>My Carousel</h1>
<Carousel>
{items.map((item) => (
<span key={item.id}>{item.name}</span>
))}
</Carousel>
</>
)
}
License
MIT © dajk