You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
501 B

5 years ago
# React Carousel
5 years ago
5 years ago
Please visit to [docs website](https://trendyol.github.io/react-carousel/docs/installation) to more details.
# Installation
```
npm i react react-dom @trendyol/react-carousel --save
```
# Usage
```jsx
import React from 'react';
import ReactDOM from 'react-dom';
import { Carousel } from '@trendyol/react-carousel';
import { Item } from './yourItem';
ReactDOM.render(
<Carousel>
<Item />
<Item />
<Item />
<Item />
</Carousel>,
document.getElementById('root'),
);
```