damla / react-carousel

Lightweight carousel component for react

Home Page:https://trendyol.github.io/react-carousel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Lightweight carousel component for react

https://trendyol.github.io/react-carousel

License:MIT License


Languages

Language:TypeScript 65.0%Language:JavaScript 28.1%Language:CSS 6.7%Language:Dockerfile 0.2%