@nicholasmole/carousel-container-component

0.1.3 • Public • Published

Carousel Container Component

React Carousel Container Component

Usage

Simply install the application

npm i @nicholasmole/carousel-container-component

Then add the wrapper to your Component

import {
	CarouselContainerComponent
} from '@nicholasmole/carousel-container-component';

<CarouselContainerComponent>
	<div>
		Slide 1
	</div>
	<div>
		Slide 2
		<div>
			Content in slide 2!
		</div>
	</div>
</CarouselContainerComponent>

Add divs or Component inside of the CarouselContainerComponent and each first child level Component will create a new slide.

Readme

Keywords

none

Package Sidebar

Install

npm i @nicholasmole/carousel-container-component

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

54.7 kB

Total Files

32

Last publish

Collaborators

  • nicholasmole