2015-07-01 21:24:04 +08:00
|
|
|
# 带有图标的
|
|
|
|
|
|
|
|
- order: 1
|
|
|
|
|
|
|
|
图标放在文字前面。
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
````jsx
|
2015-10-28 20:55:49 +08:00
|
|
|
import { Breadcrumb, Icon } from 'antd';
|
2015-07-01 21:24:04 +08:00
|
|
|
|
2015-10-20 16:47:55 +08:00
|
|
|
ReactDOM.render(
|
2015-07-01 21:24:04 +08:00
|
|
|
<Breadcrumb>
|
|
|
|
<Breadcrumb.Item href="">
|
2015-10-02 14:25:46 +08:00
|
|
|
<Icon type="home" />
|
2015-07-01 21:24:04 +08:00
|
|
|
</Breadcrumb.Item>
|
|
|
|
<Breadcrumb.Item href="">
|
2015-10-02 14:25:46 +08:00
|
|
|
<Icon type="user" />
|
2015-07-01 21:24:04 +08:00
|
|
|
应用列表
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
<Breadcrumb.Item>
|
|
|
|
应用
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
</Breadcrumb>
|
|
|
|
, document.getElementById('components-breadcrumb-demo-withicon'));
|
|
|
|
````
|
|
|
|
|