@trendyol-js/react-carousel
v3.0.2
Published
Lightweight carousel component for react
Downloads
25,818
Readme
React Carousel
Please visit to docs website for more details.
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.