2016-03-31 09:40:55 +08:00
|
|
|
---
|
|
|
|
order: 1
|
2016-06-19 11:14:21 +08:00
|
|
|
title:
|
|
|
|
zh-CN: 带有图标的
|
|
|
|
en-US: With an Icon
|
2016-03-31 09:40:55 +08:00
|
|
|
---
|
2015-07-01 21:24:04 +08:00
|
|
|
|
2016-06-19 11:14:21 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2015-07-01 21:24:04 +08:00
|
|
|
图标放在文字前面。
|
|
|
|
|
2016-06-19 11:14:21 +08:00
|
|
|
## en-US
|
|
|
|
|
|
|
|
The icon should be placed in front of the text.
|
|
|
|
|
2017-01-19 15:19:03 +08:00
|
|
|
````__react
|
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" />
|
2016-07-21 11:48:56 +08:00
|
|
|
<span>Application List</span>
|
2015-07-01 21:24:04 +08:00
|
|
|
</Breadcrumb.Item>
|
|
|
|
<Breadcrumb.Item>
|
2016-06-19 11:14:21 +08:00
|
|
|
Application
|
2015-07-01 21:24:04 +08:00
|
|
|
</Breadcrumb.Item>
|
|
|
|
</Breadcrumb>
|
2015-12-29 12:08:58 +08:00
|
|
|
, mountNode);
|
2015-07-01 21:24:04 +08:00
|
|
|
````
|