react Carousel 走马灯显示左右切换箭头

1.Carousel 走马灯

显示左右切换箭头   arrows:true

this.state = {
      settings: {
            variableWidth: true,
            arrows:  true,
            autoplay: true,
            speed: 2000,
            autoplaySpeed: 5000,
            cssEase: 'linear'

        }
    }

render() {
    const { settings } = this.state
    return (
        
          {
                ... //循环图片
           }
        
    )
}

2.相关详细文档请点击这里

你可能感兴趣的:(js)