@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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    2
  • 0.1.2
    1
  • 0.1.1
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i @nicholasmole/carousel-container-component

Weekly Downloads

5

Version

0.1.3

License

MIT

Unpacked Size

54.7 kB

Total Files

32

Last publish

Collaborators

  • nicholasmole