-1
我正在使用antd Caroseul,但我还没有看到创建prev/next或pause按钮的示例。react.js带箭头的antd传送带
const { Carousel } = antd;
ReactDOM.render(
<Carousel autoplay>
<div><h3>1</h3></div>
<div><h3>2</h3></div>
<div><h3>3</h3></div>
<div><h3>4</h3></div>
</Carousel>
, document.getElementById('app'));
只需在自动播放参数旁添加“箭头”即可 –