# react-carousel **Repository Path**: mirrors_Binaryify/react-carousel ## Basic Information - **Project Name**: react-carousel - **Description**: react-carousel - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-22 - **Last Updated**: 2026-01-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # React-carousel this is react-carousel component and it suport Responsive layout!(suport gesture operation!) 这是个react轮播图组件,并且它是响应式的!(支持手势操作!) [demo地址](http://binaryify.github.io/demo/example/) #Start ``` $ git clone git@github.com:zhuangtongfa/react-carousel.git $ npm install $ npm start ``` #Usage ```html ``` ```js import React from 'react'; import ReactDOM from 'react-dom' import Slider from './slider.jsx'; var slides = [{ background: "./imgs/1.jpg", link: "https://zhuangtongfa.github.io/" }, { background: "./imgs/2.jpg", link: "https://zhuangtongfa.github.io/" }, { background: "./imgs/3.jpg", link:"https://zhuangtongfa.github.io/" }]; ReactDOM.render( < Slider slides= {slides} time="2000"/ > , document.getElementById("app")); ```