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 f862883a9f
Update prchecks.yml
3 years ago
.github/workflows Update prchecks.yml 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 Add pagination feature 4 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 init 5 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 version to 1.2.0-beta.4 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.