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
90ebdbd8f6
|
3 years ago | |
---|---|---|
.circleci | 4 years ago | |
.github/workflows | 3 years ago | |
__tests__ | 3 years ago | |
src | 3 years ago | |
website | 4 years ago | |
.dockerignore | 5 years ago | |
.editorconfig | 5 years ago | |
.gitignore | 3 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 | 3 years ago | |
package-lock.json | 3 years ago | |
package.json | 3 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 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.