2015-07-01 20:44:19 +08:00
|
|
|
# 基本
|
|
|
|
|
|
|
|
- order: 0
|
|
|
|
|
2015-07-01 21:24:04 +08:00
|
|
|
最简单的用法,存在 `href` 表示可点。
|
2015-07-01 20:44:19 +08:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
````jsx
|
2015-10-28 20:55:49 +08:00
|
|
|
import { Breadcrumb } from 'antd';
|
2015-07-01 20:44:19 +08:00
|
|
|
|
2015-10-20 16:47:55 +08:00
|
|
|
ReactDOM.render(
|
2015-07-01 20:44:19 +08:00
|
|
|
<Breadcrumb>
|
2015-07-01 21:24:04 +08:00
|
|
|
<Breadcrumb.Item>首页</Breadcrumb.Item>
|
|
|
|
<Breadcrumb.Item href="">应用中心</Breadcrumb.Item>
|
2015-07-01 20:44:19 +08:00
|
|
|
<Breadcrumb.Item href="">应用列表</Breadcrumb.Item>
|
2015-07-01 21:24:04 +08:00
|
|
|
<Breadcrumb.Item>某应用</Breadcrumb.Item>
|
2015-07-01 20:44:19 +08:00
|
|
|
</Breadcrumb>
|
|
|
|
, document.getElementById('components-breadcrumb-demo-basic'));
|
|
|
|
````
|