react-carousel-library
Usage
import React from 'react'
import RCL from '@dajk/rcl'
const MyCarousel = () => {
return (
<RCL initialSlideIndex={0} onSlideChange={console.log}>
<div style={{ height: 200, backgroundColor: 'red' }}>1</div>
<div style={{ height: 200, backgroundColor: 'green' }}>2</div>
<div style={{ height: 200, backgroundColor: 'blue' }}>3</div>
</RCL>
)
}