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.
Hasan Genc
8b00ef670a
|
5 years ago | |
---|---|---|
.circleci | 5 years ago | |
__tests__ | 5 years ago | |
src | 5 years ago | |
website | 5 years ago | |
.dockerignore | 5 years ago | |
.editorconfig | 5 years ago | |
.gitignore | 5 years ago | |
.npmignore | 5 years ago | |
.nvmrc | 5 years ago | |
.prettierrc.json | 5 years ago | |
CHANGELOG.md | 5 years ago | |
Dockerfile | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
docker-compose.yml | 5 years ago | |
jest.config.js | 5 years ago | |
package-lock.json | 5 years ago | |
package.json | 5 years ago | |
rollup.config.js | 5 years ago | |
tsconfig.json | 5 years ago | |
tslint.json | 5 years ago |
README.md
React Carousel
Please visit to docs website to more details.
Installation
npm i react react-dom @trendyol/react-carousel --save
Usage
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'),
);