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 afbf1b912d
Merge pull request #11 from Trendyol/pagination
4 years ago
.circleci Change npm token 4 years ago
__tests__ Format code 4 years ago
src Format code 4 years ago
website Add pagination feature 4 years ago
.dockerignore init 5 years ago
.editorconfig Update .editorconfig 5 years ago
.gitignore init 5 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 Add documentation for scrolling-carousel 5 years ago
docker-compose.yml init 5 years ago
jest.config.js Change jest treshold 4 years ago
package-lock.json Revert package-lock.json 4 years ago
package.json Revert package version 4 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

Circleci 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.