Carousel component for infernojs.
See Demo.
npm i -s inferno-carousel
import InfernoCarousel from 'inferno-carousel';
Then:
<InfernoCarousel>
<img src="path-to-image" />
<img src="path-to-image" />
<img src="path-to-image" />
<img src="path-to-image" />
<img src="path-to-image" />
</InfernoCarousel>
You can also specify a className
for the container of the carousel by providing a className
prop to it.