ant-design/components/carousel/demo/basic.md
2015-08-03 17:43:05 +08:00

21 lines
301 B
Markdown

# 基本
- order: 0
最简单的用法。
---
````jsx
var Carousel = antd.Carousel;
React.render(
<Carousel>
<div><h3>1</h3></div>
<div><h3>2</h3></div>
<div><h3>3</h3></div>
<div><h3>4</h3></div>
</Carousel>
, document.getElementById('components-carousel-demo-basic'));
````