React Carousel

A Lightweight carousel component for react.

Installation

npm i react react-dom @trendyol-js/react-carousel --save

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import { Carousel } from '@trendyol-js/react-carousel';
import { Item } from './yourItem';

ReactDOM.render(
	<Carousel>
		<Item />
		<Item />
		<Item />
		<Item />
	</Carousel>,
	document.getElementById('root'),
);

License

Distributed under the MIT License. See LICENSE for more information.