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 8e4d576a26 Update node version to 14.x 3 years ago
.github Update node version to 14.x 3 years ago
__tests__ add custom arrows when its given from the props 3 years ago
src add custom arrows when its given from the props 3 years ago
website Update documentation. 3 years ago
.dockerignore init 5 years ago
.editorconfig Update .editorconfig 5 years ago
.gitignore Add optional arrow prop to ScrollingCarousel. 3 years ago
.npmignore update .npmignore 5 years ago
.nvmrc init 5 years ago
.prettierrc.json init 5 years ago
CHANGELOG.md Update CHANGELOG.md 3 years ago
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 3 years ago
CONTRIBUTING.md Create CONTRIBUTING.md 3 years ago
Dockerfile init 5 years ago
LICENSE init 5 years ago
README.md Update ci/cd status badges. 3 years ago
docker-compose.yml init 5 years ago
jest.config.js Add tests for scrolling-carousel. 3 years ago
package-lock.json Add optional arrow prop to ScrollingCarousel. 3 years ago
package.json Update package.json 3 years ago
rollup.config.js init 5 years ago
tsconfig.json Change ts target. 5 years ago
tslint.json init 5 years ago

README.md

React Carousel

Release Pre-Release codecov.io badgen.net npm version

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.